-
Notifications
You must be signed in to change notification settings - Fork 0
Add Arrow Flight SQL client #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
4266bb0
start work on arrow flight sql client
IMax153 d80ab1b
get basic version of arrow flight ipc to json working
IMax153 a0bd24c
fix import extension
IMax153 6b7c632
remove old readers directory
IMax153 fa4026b
refactor schema identifiers
IMax153 424b3db
remove tsx
IMax153 0883423
remove go from flake
IMax153 d756abc
remove arrow-flight-ipc package
IMax153 f60192d
cleanup remaining identifiers
IMax153 dd7daf7
cleanup and enhance internal arrow-flight-ipc modules
IMax153 dd701a1
test(harness): setup vitest test harness for generated arrow FlightDa…
cmwhited 0648821
exclude internal from publish config exports
IMax153 39f2cc3
add check workflow to CI
IMax153 459e18f
add clean script and fix issues with JSONC and TypeScript
IMax153 36ce961
fix bug in flatbuffer writer
IMax153 40ef2cb
fix test sharding
IMax153 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| name: Setup | ||
| description: Perform standard setup and install dependencies using pnpm. | ||
| inputs: | ||
| node-version: | ||
| description: The version of Node.js to install | ||
| required: false | ||
| deno-version: | ||
| description: The version of Deno to install | ||
| required: false | ||
| bun-version: | ||
| description: The version of Bun to install | ||
| required: false | ||
|
|
||
| runs: | ||
| using: composite | ||
| steps: | ||
| - name: Install pnpm | ||
| uses: pnpm/action-setup@v3 | ||
| - name: Install node | ||
| uses: actions/setup-node@v4 | ||
| if: ${{ inputs.node-version != '' }} | ||
| with: | ||
| cache: pnpm | ||
| node-version: ${{ inputs.node-version }} | ||
| - name: Install deno | ||
| uses: denoland/setup-deno@v2 | ||
| if: ${{ inputs.deno-version != '' }} | ||
| with: | ||
| deno-version: ${{ inputs.deno-version }} | ||
| - name: Install bun | ||
| uses: oven-sh/setup-bun@v2 | ||
| if: ${{ inputs.bun-version != '' }} | ||
| with: | ||
| bun-version: ${{ inputs.bun-version }} | ||
| - name: Install dependencies | ||
| shell: bash | ||
| run: pnpm install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,106 @@ | ||
| name: Check | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| pull_request: | ||
| branches: [main] | ||
| push: | ||
| branches: [main] | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| permissions: {} | ||
|
|
||
| jobs: | ||
| lint: | ||
| name: Lint | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| timeout-minutes: 10 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Install dependencies | ||
| uses: ./.github/actions/setup | ||
| with: | ||
| node-version: 24.10.0 | ||
| - run: pnpm lint | ||
|
|
||
| types: | ||
| name: Types | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| timeout-minutes: 10 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Install dependencies | ||
| uses: ./.github/actions/setup | ||
| with: | ||
| node-version: 24.10.0 | ||
| - run: pnpm check | ||
|
|
||
| # TODO: discuss with Sebastian whether we should add Deno / Bun configuration / checks | ||
| # types-deno: | ||
| # name: Types on Deno | ||
| # runs-on: ubuntu-latest | ||
| # permissions: | ||
| # contents: read | ||
| # timeout-minutes: 10 | ||
| # steps: | ||
| # - uses: actions/checkout@v4 | ||
| # - name: Install dependencies | ||
| # uses: ./.github/actions/setup | ||
| # with: | ||
| # deno-version: v2.5.x | ||
| # - run: deno check . | ||
|
|
||
| test: | ||
| name: Test | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| timeout-minutes: 10 | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| shard: [1/1] | ||
| runtime: [Node] # TODO: Deno | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Install dependencies | ||
| if: matrix.runtime == 'Node' | ||
| uses: ./.github/actions/setup | ||
| with: | ||
| node-version: 24.10.0 | ||
| - name: Test | ||
| if: matrix.runtime == 'Node' | ||
| run: pnpm test --shard ${{ matrix.shard }} | ||
|
|
||
| - name: Install dependencies | ||
| if: matrix.runtime == 'Deno' | ||
| uses: ./.github/actions/setup | ||
| with: | ||
| deno-version: v2.5.x | ||
| - name: Test | ||
| if: matrix.runtime == 'Deno' | ||
| run: deno task test --shard ${{ matrix.shard }} | ||
|
|
||
| # TODO: discuss with Sebastian whether we want circularity checks | ||
| # circular: | ||
| # name: Circular Dependencies | ||
| # runs-on: ubuntu-latest | ||
| # permissions: | ||
| # contents: read | ||
| # timeout-minutes: 10 | ||
| # steps: | ||
| # - uses: actions/checkout@v4 | ||
| # - name: Install dependencies | ||
| # uses: ./.github/actions/setup | ||
| # with: | ||
| # node-version: 24.10.0 | ||
| # - name: Check for circular dependencies | ||
| # run: pnpm circular |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,4 +14,6 @@ node_modules/ | |
| .DS_Store | ||
|
|
||
| # Scratchpad Files | ||
| scratchpad/**/*.md | ||
| scratchpad/**/*.ts | ||
| !scratchpad/index.ts | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1,36 @@ | ||
| { | ||
| "private": true, | ||
| "type": "module", | ||
| "packageManager": "pnpm@10.24.0+sha512.01ff8ae71b4419903b65c60fb2dc9d34cf8bb6e06d03bde112ef38f7a34d6904c424ba66bea5cdcf12890230bf39f9580473140ed9c946fef328b6e5238a345a", | ||
| "packageManager": "pnpm@10.25.0+sha512.5e82639027af37cf832061bcc6d639c219634488e0f2baebe785028a793de7b525ffcd3f7ff574f5e9860654e098fe852ba8ac5dd5cefe1767d23a020a92f501", | ||
| "scripts": { | ||
| "check": "tspc -b tsconfig.json", | ||
| "clean": "node scripts/clean.mjs", | ||
| "lint": "eslint \"**/{src,test,examples,dtslint}/**/*.{ts,mjs}\"", | ||
| "lint-fix": "pnpm lint --fix" | ||
| "lint-fix": "pnpm lint --fix", | ||
| "test": "vitest" | ||
| }, | ||
| "devDependencies": { | ||
| "@effect/eslint-plugin": "^0.3.2", | ||
| "@effect/language-service": "^0.57.1", | ||
| "@effect/language-service": "^0.62.0", | ||
| "@effect/vitest": "^0.27.0", | ||
| "@eslint/js": "^9.39.1", | ||
| "@types/node": "^24.10.1", | ||
| "@types/node": "^25.0.0", | ||
| "@vitest/coverage-v8": "^4.0.15", | ||
| "@vitest/ui": "^4.0.15", | ||
| "effect": "^3.19.11", | ||
| "eslint": "^9.39.1", | ||
| "eslint-import-resolver-typescript": "^4.4.4", | ||
| "eslint-plugin-import-x": "^4.16.1", | ||
| "eslint-plugin-simple-import-sort": "^12.1.1", | ||
| "eslint-plugin-sort-destructure-keys": "^2.0.0", | ||
| "eslint-plugin-unused-imports": "^4.3.0", | ||
| "glob": "^13.0.0", | ||
| "globals": "^16.5.0", | ||
| "ts-patch": "^3.3.0", | ||
| "typescript": "^5.9.3", | ||
| "typescript-eslint": "^8.48.0" | ||
| "typescript-eslint": "^8.49.0", | ||
| "vite-tsconfig-paths": "^5.1.4", | ||
| "vitest": "^4.0.15", | ||
| "vitest-mock-express": "^2.2.0" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Amp TypeScript SDK | ||
|
|
||
| ## Known Issues | ||
|
|
||
| **Enabling TypeScript's `erasableSyntaxOnly` Feature** | ||
|
|
||
| For some completely absurd reason, the `@bufbuild/protoc-gen-es` plugin does not support generating enum values as anything other than TypeScript enums at this time, so we cannot yet enable this flag. | ||
|
|
||
| See the [related `protobuf-es` issue](https://github.com/bufbuild/protobuf-es/issues/1139) for more information. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| version: v2 | ||
|
|
||
| inputs: | ||
| - git_repo: https://github.com/apache/arrow | ||
| subdir: format | ||
|
|
||
| plugins: | ||
| - local: protoc-gen-es | ||
| out: src/Protobuf | ||
| opt: | ||
| - target=ts | ||
| - import_extension=ts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.