forked from prestodb/presto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Arrow Flight connector template Co-authored-by: sai bhaskar reddy <[email protected]> Co-authored-by: SthuthiGhosh9400 <[email protected]> Co-authored-by: lithinwxd <[email protected]> Co-authored-by: Steve Burnett <[email protected]> Co-authored-by: elbinpallimalilibm <[email protected]> * Move Arrow type to Presto type mapping to a separate function * Fix checkstyle errors * Refactor null check * Remove explicit versios * Remove explicit versions * Remove explicit versions in pom (#25) * Remove explicit versios * Remove explicit versions * Remove explicit declarations in pom * Resolve upper bound error * Do not exclude netty dependencies * Remove explicit versions from pom * Add integration smoke test * Use flight descriptor instead of ArrowFlightRequest * Remove config getter from flight client handler * Arrow connector reviewcomment fixes (#28) * Arrow CI job * added verison in property file * testing after removing hyphen * remove path to make sure CI is run during every build * changed yaml to run CI on evry pull requests and every update except doc update * review comment fixes * Use flight descriptor instead of ArrowFlightRequest * Arrow page utils changes * Use flight descriptor instead of ArrowFlightRequest * Arrow page utils changes - fixed checkstyle issues * Review comment fixes - Root allocator and typos * Remove config getter from flight client handler * Arrow CI job * added verison in property file * testing after removing hyphen * remove path to make sure CI is run during every build * changed yaml to run CI on evry pull requests and every update except doc update * review comment fixes * Arrow page utils changes * Arrow page utils changes - fixed checkstyle issues * Review comment fixes - Root allocator and typos * Review comment fixes * Review comment fixes * Review comment fixes - Changed config * Added support for small int tiny int date and timestamp * Review comment fixes - Dictionary encoding and other tests * Review comment fixes - Added Tests as per comments * Removed license header unwanted place * Removed duplicate CI job * Review comment fixes * Added more testcases * Fixed review comments and added support for other datatypes * Minor fixes on method argument * Fixed review comments - cosmetic changes and unneccessary class removal * Arrow - DictionaryEncoding usecase * Removed description which looks like generated * Added support for dictionary encoding * Fixed review comments * Fixed review comments -added index type --------- Co-authored-by: Elbin Pallimalil <[email protected]> Co-authored-by: Elbin Pallimalil <[email protected]> --------- Co-authored-by: sai bhaskar reddy <[email protected]> Co-authored-by: SthuthiGhosh9400 <[email protected]> Co-authored-by: lithinwxd <[email protected]> Co-authored-by: Steve Burnett <[email protected]>
- Loading branch information
1 parent
f38c212
commit 13ac221
Showing
31 changed files
with
2,621 additions
and
843 deletions.
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
Oops, something went wrong.