forked from prestodb/presto
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Arrow connector reviewcomment fixes #28
Merged
elbinpallimalilibm
merged 42 commits into
arrow-connector-workspace
from
arrow-connector-reviewcommentFixes
Dec 9, 2024
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
d6c9e0d
Arrow CI job
lithinwxd 2b758d8
added verison in property file
lithinwxd 84d4d89
testing after removing hyphen
lithinwxd 153312e
remove path to make sure CI is run during every build
lithinwxd a597913
changed yaml to run CI on evry pull requests and every update except …
lithinwxd d466a13
review comment fixes
lithinwxd ada5038
Use flight descriptor instead of ArrowFlightRequest
elbinpallimalilibm a5d11c4
Use flight descriptor instead of ArrowFlightRequest
elbinpallimalilibm d3b8063
Arrow page utils changes
lithinwxd 72e2f07
Use flight descriptor instead of ArrowFlightRequest
elbinpallimalilibm 780f0a3
Arrow page utils changes - fixed checkstyle issues
lithinwxd a2cb5c5
Review comment fixes - Root allocator and typos
lithinwxd bc25a2e
Remove config getter from flight client handler
elbinpallimalilibm 40776ec
Merge pull request #30 from sabbasani/arrow-connector-workspace-elbin
elbinpallimalilibm 0b06577
Arrow CI job
lithinwxd bcc101b
added verison in property file
lithinwxd 9615f4c
testing after removing hyphen
lithinwxd e8250f0
remove path to make sure CI is run during every build
lithinwxd 064b047
changed yaml to run CI on evry pull requests and every update except …
lithinwxd 99d6a8f
review comment fixes
lithinwxd 45f069a
Arrow page utils changes
lithinwxd ef7b73a
Arrow page utils changes - fixed checkstyle issues
lithinwxd 4986319
Review comment fixes - Root allocator and typos
lithinwxd 82b64d5
Review comment fixes
lithinwxd 40e641c
Merge remote-tracking branch 'origin/arrow-connector-reviewcommentFix…
lithinwxd d9db76e
Review comment fixes
lithinwxd 5e99355
Review comment fixes - Changed config
lithinwxd a4ba35c
Added support for small int tiny int date and timestamp
lithinwxd 7170a7f
Review comment fixes - Dictionary encoding and other tests
lithinwxd 2a1071e
Review comment fixes - Added Tests as per comments
lithinwxd c05c392
Removed license header unwanted place
lithinwxd 2660322
Removed duplicate CI job
lithinwxd 03f1bcd
Review comment fixes
lithinwxd fa04dde
Added more testcases
lithinwxd a32e967
Fixed review comments and added support for other datatypes
lithinwxd d42cf78
Minor fixes on method argument
lithinwxd a27652a
Fixed review comments - cosmetic changes and unneccessary class removal
lithinwxd 4fb97d7
Arrow - DictionaryEncoding usecase
lithinwxd 0138aa7
Removed description which looks like generated
lithinwxd b13eeb3
Added support for dictionary encoding
lithinwxd e2463e7
Fixed review comments
lithinwxd d391906
Fixed review comments -added index type
lithinwxd 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 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,82 @@ | ||
name: arrow flight tests | ||
|
||
on: | ||
pull_request: | ||
|
||
env: | ||
CONTINUOUS_INTEGRATION: true | ||
MAVEN_OPTS: "-Xmx1024M -XX:+ExitOnOutOfMemoryError" | ||
MAVEN_INSTALL_OPTS: "-Xmx2G -XX:+ExitOnOutOfMemoryError" | ||
MAVEN_FAST_INSTALL: "-B -V --quiet -T 1C -DskipTests -Dair.check.skip-all --no-transfer-progress -Dmaven.javadoc.skip=true" | ||
MAVEN_TEST: "-B -Dair.check.skip-all -Dmaven.javadoc.skip=true -DLogTestDurationListener.enabled=true --no-transfer-progress --fail-at-end" | ||
RETRY: .github/bin/retry | ||
|
||
jobs: | ||
changes: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: read | ||
outputs: | ||
codechange: ${{ steps.filter.outputs.codechange }} | ||
steps: | ||
- uses: dorny/paths-filter@v2 | ||
id: filter | ||
with: | ||
filters: | | ||
codechange: | ||
- '!presto-docs/**' | ||
test: | ||
runs-on: ubuntu-latest | ||
needs: changes | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
modules: | ||
- ":presto-base-arrow-flight" # Only run tests for the `presto-base-arrow-flight` module | ||
|
||
timeout-minutes: 80 | ||
concurrency: | ||
group: ${{ github.workflow }}-test-${{ matrix.modules }}-${{ github.event.pull_request.number }} | ||
cancel-in-progress: true | ||
|
||
steps: | ||
# Checkout the code only if there are changes in the relevant files | ||
- uses: actions/checkout@v4 | ||
if: needs.changes.outputs.codechange == 'true' | ||
with: | ||
show-progress: false | ||
|
||
# Set up Java for the build environment | ||
- uses: actions/setup-java@v2 | ||
if: needs.changes.outputs.codechange == 'true' | ||
with: | ||
distribution: 'temurin' | ||
java-version: 8 | ||
|
||
# Cache Maven dependencies to speed up the build | ||
- name: Cache local Maven repository | ||
if: needs.changes.outputs.codechange == 'true' | ||
id: cache-maven | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.m2/repository | ||
key: ${{ runner.os }}-maven-2-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: | | ||
${{ runner.os }}-maven-2- | ||
|
||
# Resolve Maven dependencies (if cache is not found) | ||
- name: Populate Maven cache | ||
if: steps.cache-maven.outputs.cache-hit != 'true' && needs.changes.outputs.codechange == 'true' | ||
run: ./mvnw de.qaware.maven:go-offline-maven-plugin:resolve-dependencies --no-transfer-progress && .github/bin/download_nodejs | ||
|
||
# Install dependencies for the target module | ||
- name: Maven Install | ||
if: needs.changes.outputs.codechange == 'true' | ||
run: | | ||
export MAVEN_OPTS="${MAVEN_INSTALL_OPTS}" | ||
./mvnw install ${MAVEN_FAST_INSTALL} -am -pl ${{ matrix.modules }} | ||
|
||
# Run Maven tests for the target module | ||
- name: Maven Tests | ||
if: needs.changes.outputs.codechange == 'true' | ||
run: ./mvnw test ${MAVEN_TEST} -pl ${{ matrix.modules }} |
This file contains 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 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 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to append empty string
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done