Skip to content
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

Bloomberg snowflake #18

Merged
merged 351 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
351 commits
Select commit Hold shift + click to select a range
de329bd
Use correct HostnameVerifier when verify-hostnames set to true
Praveen2112 Dec 11, 2023
25b6488
Update AWS SDK v1 to 1.12.610
wendigo Dec 12, 2023
003330c
Update Azure SDK to 1.2.19
wendigo Dec 12, 2023
fbd677a
Update grpc to 1.60.0
wendigo Dec 12, 2023
eef9d93
Update reactor-core to 3.4.34
wendigo Dec 12, 2023
30374dc
Update JNA to 5.14.0
wendigo Dec 12, 2023
638d386
Update kafka-clients to 3.6.1
wendigo Dec 12, 2023
491be08
Update postgresql to 42.7.1
wendigo Dec 12, 2023
8367575
Update AWS SDK v2 to 2.21.43
wendigo Dec 12, 2023
794c8dd
Add example SQL routine for formatting bytes
mosabua Dec 12, 2023
79bc8fa
Upgrade Hudi test version to 0.14.0
yihua Dec 13, 2023
2260b23
Remove product tests targeting Hive 2 or older
nineinchnick Dec 6, 2023
3cbf498
Add a config to toggle local scheduling of Mongo splits
Praveen2112 Dec 11, 2023
3acbf2f
Test Iceberg metadata file access for materialized view column queries
alexjo2144 Nov 28, 2023
ebc74b7
Separate properties from MaterializedViewDefinition
alexjo2144 Nov 28, 2023
58406b9
Move dependency to root pom
elonazoulay Dec 10, 2023
f3a3eb6
Fix GcsFileSystemConfig validation message
elonazoulay Dec 10, 2023
3be8c2f
Configure retries for trino-filesystem-gcs
elonazoulay Dec 10, 2023
049388a
Replace TableToPartitionMapping with hiveColumnCoercion map
Bhargavi-Sagi Dec 8, 2023
259e2af
Unblock driver based on configurable timeout
gaurav8297 Nov 19, 2023
7e708ba
Add support for closing idle writers
gaurav8297 Dec 2, 2023
f52ce04
Fix incorrect LIKE for patterns with repeating substrings
martint Dec 13, 2023
dec4f6d
Add docs for mongodb.allow-local-scheduling
mosabua Dec 14, 2023
b4e65d0
Add support for JSON_TABLE
kasiafi May 9, 2023
1fe285f
Add docs for elasticsearch.tls.verify-hostnames
mosabua Dec 14, 2023
7ab1e59
Revert "Allow differentiating materialized views from tables efficien…
martint Dec 14, 2023
da53469
Add Trino 435 release notes
mosabua Dec 1, 2023
c11e77e
[maven-release-plugin] prepare release 435
martint Dec 14, 2023
82a76c9
[maven-release-plugin] prepare for next development iteration
martint Dec 14, 2023
7424013
Remove redundant code from Kudu TypeHelper.getObject
ebyhr Dec 14, 2023
5235555
Reorder conditions in Kudu TypeHelper
ebyhr Dec 14, 2023
9658852
Remove unnecessary test
wendigo Dec 13, 2023
d4621e2
Use default stats column filter for the retrieval of active files
findinpath Dec 13, 2023
639dce9
Disable failing bigquery test
wendigo Dec 14, 2023
0fc9389
Fix serialization failure when invoking json_table
martint Dec 14, 2023
1f2ac22
Disallow changing the location of a table in CREATE OR REPLACE state…
findinpath Dec 13, 2023
a56752e
Flush dictionaries before releasing partitioners
pettyjamesm Nov 17, 2023
face6d8
Ensure "nessie.commit.id" table property is set when updating the table
ajantha-bhat Oct 25, 2023
dfdbc7d
Make logPaths and listeners final
chenjian2664 Dec 15, 2023
3aea15e
Process only files smaller than the threshold for OPTIMIZE
findinpath Dec 11, 2023
5653e83
Fix identation
findepi Dec 14, 2023
cfaa1df
Fix test comment typo
findepi Dec 13, 2023
d4dd6cf
Fix negative cost estimates in LocalQueryRunner
findepi Dec 8, 2023
7e8ad5a
Add guards for 0 #nodes in CBO
findepi Dec 8, 2023
ab27cb8
Reject negative cost components
findepi Dec 8, 2023
12c33fb
Remove unused field
findepi Dec 8, 2023
2407eb9
Make DistributedQueryRunner.withTracing idempotent
findepi Dec 8, 2023
982be2a
Log finalQueryInfo when FTE scheduler stalled
losipiuk Dec 15, 2023
23be8c9
Increase GCLocker retries for Maven
findepi Dec 15, 2023
b6eabd5
Fix table listing concurrency in FileHiveMetastore
findepi Dec 15, 2023
0eb70fe
Increase timeout for TestWindow.testManyFunctionsWithSameWindow
findepi Dec 15, 2023
a16cfdd
Adjust BigQuery CI profile
ebyhr Nov 29, 2023
4d3c11b
Rearrange candidate-host logic in bin-packing allocator
dekimir Dec 13, 2023
f6819ac
Factor out dropCoordinatorsIfNecessary
dekimir Dec 13, 2023
5fb1050
Update requirement to Oracle 19
mosabua Dec 15, 2023
5912370
Reduce repetitions of testCreateFileRetry
elonazoulay Dec 16, 2023
df3a63a
Convert PTL tests to JUnit
findepi Dec 15, 2023
ed6e854
Remove TestNG from test classpath
findepi Dec 15, 2023
3142333
Migrate trino-record-decoder off TestNG assertions
findepi Dec 15, 2023
a16597b
Migrate trino-prometheus off TestNG assertions
findepi Dec 15, 2023
73b5ccf
Update flyway to 10.3.0
wendigo Dec 14, 2023
1691708
Update RoaringBitmap to 1.0.1
wendigo Dec 14, 2023
9591047
Update redshift-jdbc42 to 2.1.0.24
wendigo Dec 14, 2023
7b7910d
Update metrics-core to 4.2.23
wendigo Dec 14, 2023
af062c7
Update nimbus-jose-jwt 9.37.3
wendigo Dec 14, 2023
82bde82
Update oauth2-oidc-sdk to 11.8
wendigo Dec 14, 2023
7af5892
Update AWS SDK v1 to 1.12.618
wendigo Dec 14, 2023
6b32e91
Update AWS SDK v2 to 2.21.45
wendigo Dec 14, 2023
81ea011
Update plexus-xml to 4.0.3
wendigo Dec 14, 2023
40117ea
Use sf1 table for testMultipleWritersWithSkewedData
gaurav8297 Dec 19, 2023
a38ce40
Add example for listagg with filter
danielyahn Dec 7, 2023
8a3d1f9
Add example SQL routines for charts
nineinchnick Dec 8, 2023
69315d9
Add comment why disabling pushdown on MariaDB REAL type
ebyhr Dec 19, 2023
4a36c34
Expand catalog routine docs
mosabua Dec 19, 2023
33dd20a
Document filtering during aggregation for `listagg`
findinpath Dec 19, 2023
6d08816
Randomize identifiers in BaseSqlServerConnectorTest
ebyhr Dec 20, 2023
cf77edb
Fail with proper error on overflow in from_unixtime
athultr1997 Dec 20, 2023
f7369f6
Fix page partitioner output bytes on release handling
pettyjamesm Dec 20, 2023
3a8faca
Inline pom property for test profiles
findepi Dec 20, 2023
4829f69
Make createExclusive atomic
findepi Dec 20, 2023
699fe62
Remove redundant classloader wrapper from exclude_columns
findepi Dec 20, 2023
a8ac255
Remove redundant classloader wrapper from sequence
findepi Dec 20, 2023
95d59fe
Remove redundant air.test.parallel property
ebyhr Dec 21, 2023
05404da
Fix ConstantExpression serialization
findepi Dec 20, 2023
2754c0b
Fix TestAccessControl execution
findepi Dec 21, 2023
11e8530
Add tracing for query start
findepi Dec 21, 2023
0301175
Fix code indentation
findepi Dec 21, 2023
f6ea5b4
Remove redundant PER_CLASS & CONCURRENT annotations
findepi Dec 21, 2023
6afc644
Remove unused field from TestIcebergMetadataListing
findepi Dec 21, 2023
2b30080
Factor out common code in TestUniformNodeSelector
dekimir Dec 15, 2023
83fdd35
Warn about unexpected task updates
dekimir Dec 21, 2023
797403f
Add example SQL routine for formatting topn results
nineinchnick Dec 8, 2023
259702f
Fix incorrectly concurrent tests
findepi Dec 21, 2023
35ad5c1
Set up only one concurrent query runner in TestQueryManager
findepi Dec 21, 2023
de79cdc
Add tracing for SplitManager.getSplits
findepi Dec 21, 2023
506da60
Rename parameter in helper method
findepi Dec 21, 2023
7af05cb
Hide FTE tests configs
findepi Dec 20, 2023
5f4e7b6
Fix rendering of time/timestamp with timezone type name
takezoe Dec 22, 2023
261322f
Update hudi test resource for hudi_non_part_cow table
krvikash Nov 27, 2023
1afaa52
Optional check for query partition filter for Hudi
krvikash Nov 21, 2023
1236521
Throw IndexOutOfBoundsException in InputStream implementations
jkylling Nov 18, 2023
3a31d3a
Catch exception in sendUpdate
losipiuk Dec 21, 2023
f5def2d
Restore lifecycle annotations in tests
martint Dec 21, 2023
0579c95
Adjust logging level to debug
martint Dec 22, 2023
7b660f1
Fix formatting
martint Dec 22, 2023
b2e98e9
Remove unnecessary calls to toString()
martint Dec 22, 2023
355f5c8
Remove unnecessary simplification step
sopel39 Mar 10, 2023
17098af
Do not generate redundant straddling predicates by equality inference
sopel39 Mar 10, 2023
f0d59e6
Update JLine to 3.25.0
wendigo Dec 24, 2023
457df6e
Fix SQL Server DATETIMEOFFSET for old dates
adamjshook Nov 3, 2023
c106cf5
Only log null spooling stats in FTE mode
dekimir Dec 22, 2023
ee7046b
Fix failing test on master
sopel39 Dec 26, 2023
f124589
Use explicit values for MaxResults in all Glue APIs
hashhar Dec 21, 2023
a9d1e03
Add Delta table read version to connectorInfo
jkylling Dec 29, 2023
b6eb50c
Fix case in RN section header
findepi Dec 29, 2023
2a844f2
Refactor IcebergSplitSource to reduce per split operations
raunaqmorarka Dec 27, 2023
8a14adc
Extract pruneFileScanTask in IcebergSplitSource
raunaqmorarka Dec 27, 2023
2caf83d
Avoid unnecessary string to slice conversion
raunaqmorarka Dec 28, 2023
e880114
Assert position count of page instead of individual blocks
findinpath Dec 29, 2023
31e74bc
Refactor test class to be able to host eventually multiple tests
findinpath Dec 27, 2023
89105bd
Short circuit page source in case of partition mismatch
findinpath Dec 22, 2023
b4f2803
Strip the partition columns domains from the effective predicate
findinpath Dec 27, 2023
e45ccaf
Unignore re2j dependency conflicts
findepi Dec 29, 2023
b293de3
Prune dependency management for alluxio-shaded-client
findepi Dec 29, 2023
8504cf7
Put related modernizer exclusions together
findepi Dec 29, 2023
875fe1b
Remove unused test helper method
findepi Dec 29, 2023
71499d5
Mark wether a PlanFragement is contains TableScanNode or not
XuPengfei-1020 Dec 20, 2023
4155e9f
fix ST_Centroid and ST_Buffer for tiny geometries
cshao239 Dec 28, 2023
e0c0c01
Use the effective predicate when doing partition matching
findinpath Jan 2, 2024
6106814
Remove Deprecated annotation from parquet.ignore-statistics
raunaqmorarka Dec 27, 2023
9c25df5
Add parquet_ignore_statistics session property to iceberg
raunaqmorarka Dec 27, 2023
cf7e7e5
Add parquet_ignore_statistics session property to delta lake
raunaqmorarka Dec 27, 2023
b087a3c
Add documentation for parquet.ignore-statistics
raunaqmorarka Dec 27, 2023
1706df0
Update docs for java 17.0.5
Chaho12 Jan 3, 2024
19a8696
Increase threshold for stalled FTE scheduler logging
losipiuk Dec 6, 2023
aa84aea
Decouple debug logging frequency and scheduler stalled time
losipiuk Dec 14, 2023
8aab363
Sometimes EventListenerMangager.queryCompleted() called too early
dominikzalewski Dec 27, 2023
7037df7
Update to Iceberg 1.4.3
Fokko Dec 21, 2023
d269fad
Add scaffolding for unit testing dynamic filtering
findinpath Jan 2, 2024
5ac0645
Short circuit page source in case of partition mismatch
findinpath Jan 2, 2024
77a4e94
Fix TestRedshiftTypeMapping
ebyhr Jan 4, 2024
cddf0d4
Add DomainUserDefinedPredicate#toString
raunaqmorarka Jan 3, 2024
4931f0d
Remove unnecessary forceTestNgToRespectSingleThreaded
raunaqmorarka Jan 4, 2024
87cf65b
Rename io.trino.plugin.hive.parquet.TestParquetReader
raunaqmorarka Jan 4, 2024
0ff524b
Rename TestParquetReaderMemoryUsage
raunaqmorarka Jan 3, 2024
9932acd
Fix handling of pruned parquet row groups with column indexes
raunaqmorarka Jan 3, 2024
585f6fe
Upgrade required JVM version to 17.0.8
wendigo Jan 4, 2024
b769deb
Update AWS SDK v1 to 1.12.630
wendigo Jan 4, 2024
e90d1c3
Update AWS SDK v2 to 2.22.10
wendigo Jan 4, 2024
2c931e8
Update JDBI to 3.43.0
wendigo Jan 4, 2024
19e4ec7
Update flywaydb to 10.4.1
wendigo Jan 4, 2024
d9eb148
Update Jetty to 11.0.19
wendigo Jan 4, 2024
5abec90
Update swagger to 2.2.20
wendigo Jan 4, 2024
a2843df
Update datasketches-java to 5.0.1
wendigo Jan 4, 2024
0298829
Update keycloak to 23.0.3
wendigo Jan 4, 2024
423731d
Update databricks-jdbc to 2.6.36
wendigo Jan 4, 2024
afece61
Update byte-buddy to 1.14.11
wendigo Jan 4, 2024
c64cd0f
Update javassist to 3.30.2-GA
wendigo Jan 4, 2024
f194d72
Update MariaDB driver to 3.3.2
wendigo Jan 4, 2024
e062514
Update s3mock-testcontainers to 3.3.0
wendigo Jan 4, 2024
1674a18
Updater oauth2-oidc-sdk to 11.9
wendigo Jan 4, 2024
d824960
Update checker-equal to 3.42.0
wendigo Jan 4, 2024
3332ff6
Remove redundant ? from SHOW COLUMNS in SqlBase.g4
ebyhr Jan 4, 2024
d94856d
Specify table name in testPartitionProjectionIgnore
ebyhr Jan 5, 2024
75854f4
Fixes failure when building trino-server alone
athultr1997 Jan 1, 2024
6f9f8cf
Increase stale operations count
mosabua Dec 29, 2023
2e1de3b
Allow union data to conform to smaller union
jklamer Dec 27, 2023
b0e06b3
Update oshi-core to 6.4.10
wendigo Jan 5, 2024
0e168ce
Update grpc-bom to 1.60.1
wendigo Jan 5, 2024
1c91e57
Update joda-time to 2.12.6
wendigo Jan 8, 2024
9b646d8
Update arrow to 14.0.2
wendigo Jan 8, 2024
8fb9730
Detect leaked containers when running with JUnit
findepi Jan 8, 2024
2be084c
Return empty table list in Iceberg REST Catalog when invalid namespac…
amogh-jahagirdar Nov 28, 2023
5c2b059
Fix typo in stalebot config
mosabua Jan 8, 2024
09ef5b5
Require JDK 21 to run Trino
wendigo Dec 4, 2023
6021f33
Use isDynamicFilterFunction in ConnectorExpressionTranslator
raunaqmorarka Jan 8, 2024
bd8821d
Document encryption of FTE spool
willmostly Jan 8, 2024
2fd2fee
Cache result of evaluating constraint per partition in iceberg
raunaqmorarka Jan 9, 2024
31e8e36
Reduce test boilerplate
findepi Jan 3, 2024
79f5732
Remove redundant variable
findepi Jan 3, 2024
15f438f
Unify table type switch handling
findepi Jan 3, 2024
f04afb5
Remove obsolete table property checks
findepi Jan 3, 2024
439e4be
Don't fail Iceberg on `$partitions` table name
findepi Jan 3, 2024
4f9f2c6
Simplify IcebergTableName exception handling
findepi Jan 3, 2024
abe48f9
Improve argument validation message
findepi Jan 4, 2024
41687ef
Define tables required by AbstractTestAggregations
findepi Jan 4, 2024
5113d9b
Test hive metastore operations involving retries
pajaks Dec 19, 2023
a6eb444
Ignore TableNotFoundException on retries when dropping the table
pajaks Dec 19, 2023
4817ac8
Add trino-opensearch plugin
wendigo Jan 2, 2024
b26935b
Rename classes and drop Elasticsearch tests
wendigo Jan 2, 2024
7fcf3be
Rename config properties to opensearch
wendigo Jan 2, 2024
d5f5141
Rename connector factory to opensearch
wendigo Jan 2, 2024
5d32a68
Rename exported JMX beans to match package names
wendigo Jan 2, 2024
36740e6
Update lucene analyzer to 9.7.0
wendigo Jan 2, 2024
1744cea
Migrate OpenSearch plugin to OpenSearch java client
wendigo Jan 2, 2024
64dfb8f
Enable testing of trino-opensearch module
wendigo Jan 2, 2024
576151c
Add OpenSearch connector docs
wendigo Jan 2, 2024
1a9bcd4
Add testing coverage against latest OpenSearch server
wendigo Jan 2, 2024
0c11680
Move OpenSearch plugin to it's own package
wendigo Jan 9, 2024
8da2ef3
Fix Javadoc for largeInValuesCountData
wendigo Jan 9, 2024
3af0054
Fix remaining Elasticsearch references
wendigo Jan 9, 2024
53e4b15
Cleanup opensearch plugin pom
wendigo Jan 9, 2024
d11d42f
Migrate to official OpenSearch testcontainers
wendigo Jan 9, 2024
40da861
Drop legacy full-text search support
wendigo Jan 9, 2024
a09174d
Fix formatting
findepi Jan 10, 2024
7493acc
Extract version embedding to a helper
findepi Jan 10, 2024
03f3315
Extract query executor binding to a method
findepi Jan 10, 2024
30575d0
Embed version in scheduler stacktraces
findepi Jan 10, 2024
d8f8bf2
Fix code indentation
findepi Dec 8, 2023
d69f50b
Add some traceability which option is failing
findepi Dec 19, 2023
3099032
Move extractVariables utility
findepi Dec 20, 2023
1879242
Pull RewriteComparison.ComparisonOperator as top level class
findepi Dec 21, 2023
91a29a7
Implement complex join pushdown in JDBC connectors
findepi Dec 1, 2023
d0f188e
Re-add expression-less join pushdown as fallback
findepi Dec 8, 2023
fd048d0
Fix auto formatting of throwing blocks
findepi Jan 10, 2024
c7835d1
Iterate over keys only when only keys needed
findepi Jan 10, 2024
5fbf6b0
Remove redundant and misnamed updatePartitionStatistics "overload"
findepi Jan 10, 2024
c809c1f
Fix cast time w/ tz exception message
everypp Jan 10, 2024
931e549
Support translation of JsonPathType to ConnectorExpression
assaf2 Dec 24, 2023
074b303
Move Vale vocabulary to conform to Vale v3.0.0
nineinchnick Jan 10, 2024
4d51ff4
Document single quote escape
willmostly Nov 3, 2023
5bc6d2e
Give Hive ACID PT suite a name
findepi Jan 10, 2024
c9df89d
Remove Hive transactional tests from suite1
findepi Jan 10, 2024
d86d5ab
Reduce Hive transactional coverage in suites
findepi Jan 10, 2024
292ce5f
Correct FTE encryption detail in docs
mosabua Jan 10, 2024
0d23278
Clean up OpenSearch connector docs
mosabua Jan 10, 2024
c57e3eb
Clean up Query Management doc
Chaho12 Jan 10, 2024
d535988
Add note about Nessie catalogs for views
mosabua Jan 10, 2024
289cbca
Fix map assertion in TestLazyMap
findepi Jan 10, 2024
2c0ae04
Remove redundant generics in expression mapping
findepi Jan 10, 2024
8fb59de
Rename rewrite continuation interface
findepi Jan 10, 2024
7d0c5b1
Prevent mutable state leak in expression mapping
findepi Jan 10, 2024
2f3453b
Support conditional rewrites
findepi Jan 10, 2024
87ea350
Inline function calls in hot path
oneonestar Dec 14, 2023
e529cd7
Revert "Fix auto formatting of throwing blocks"
findepi Jan 10, 2024
5df1a2b
Fix TestTrinoGlueCatalog.testListTables
findepi Jan 10, 2024
3665fe6
Migrate off testng assertions in TestHiveFileFormats
findepi Jan 10, 2024
65e9c64
Add support iceberg parquet predicate pushdown with column id
Heltman Sep 18, 2023
da3ce76
Upgrade Elasticsearch client to 7.x
wendigo Dec 30, 2023
b2c7cd4
Cleanup elasticsearch pom
wendigo Jan 10, 2024
b32b287
Fix impacted features inclusion in product tests
findepi Jan 11, 2024
ecb0c78
Reformat array initializers
findepi Jan 10, 2024
082c8a6
Remove redundant lambda braces
findepi Jan 10, 2024
7e46334
Fix sentence in SQL routines docs
sheajamba Jan 11, 2024
2e17f45
Add Snowflake JDBC Connector (#11)
yuuteng Dec 5, 2023
934555b
Update the github CI (#12)
yuuteng Dec 6, 2023
89e7245
Various style fixes and cleanup (#15)
martint Dec 21, 2023
69d4ab2
Various style fixes and cleanup (#15) (#17)
yuuteng Jan 10, 2024
a185e04
Update according to reviews 11/01/2024
yuuteng Jan 11, 2024
594743e
Merge branch 'snowflake' into bloomberg-snowflake
dprophet Jan 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .github/config/labeler-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
- lib/trino-orc/**
- lib/trino-parquet/**
- lib/trino-hive-formats/**
- plugin/trino-hive-hadoop2/**
- plugin/trino-hive/**
- testing/trino-product-tests/**
- lib/trino-filesystem/**
Expand All @@ -20,7 +19,6 @@ delta-lake:

hive:
- plugin/trino-hive/**
- plugin/trino-hive-hadoop2/**

hudi:
- plugin/trino-hudi/**
Expand Down
96 changes: 15 additions & 81 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ jobs:
fail-fast: false
matrix:
java-version:
- 17 # Keep testing on JDK 17 to ensure basic backward compatibility
- 21
timeout-minutes: 45
steps:
Expand Down Expand Up @@ -301,27 +300,7 @@ jobs:
- name: Install Hive Module
run: |
export MAVEN_OPTS="${MAVEN_INSTALL_OPTS}"
$MAVEN clean install ${MAVEN_FAST_INSTALL} ${MAVEN_GIB} -Dgib.logImpactedTo=gib-impacted.log -am -pl :trino-hive-hadoop2
- name: Run Hive Tests
run: |
source plugin/trino-hive-hadoop2/conf/hive-tests-${{ matrix.config }}.sh &&
plugin/trino-hive-hadoop2/bin/run_hive_tests.sh
- name: Run Hive S3 Tests
env:
AWS_ACCESS_KEY_ID: ${{ secrets.TRINO_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.TRINO_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ vars.TRINO_AWS_REGION }}
S3_BUCKET: ${{ vars.TRINO_S3_BUCKET }}
S3_BUCKET_ENDPOINT: "https://s3.${{ vars.TRINO_AWS_REGION }}.amazonaws.com"
run: |
if [ "${AWS_ACCESS_KEY_ID}" != "" ]; then
source plugin/trino-hive-hadoop2/conf/hive-tests-${{ matrix.config }}.sh &&
plugin/trino-hive-hadoop2/bin/run_hive_s3_tests.sh
if [ matrix.config == 'config-hdp3' ]; then
# JsonSerde class needed for the S3 Select JSON tests is only available on hdp3.
plugin/trino-hive-hadoop2/bin/run_hive_s3_select_json_tests.sh
fi
fi
$MAVEN clean install ${MAVEN_FAST_INSTALL} ${MAVEN_GIB} -Dgib.logImpactedTo=gib-impacted.log -am -pl :trino-hive
- name: Run Hive AWS Tests
env:
AWS_ACCESS_KEY_ID: ${{ secrets.TRINO_AWS_ACCESS_KEY_ID }}
Expand All @@ -333,53 +312,6 @@ jobs:
if [ "${AWS_ACCESS_KEY_ID}" != "" ]; then
$MAVEN test ${MAVEN_TEST} -pl :trino-hive -P aws-tests
fi
- name: Run Hive Azure ABFS Access Key Tests
if: matrix.config != 'config-empty' # Hive 1.x does not support Azure storage
env:
ABFS_CONTAINER: ${{ secrets.AZURE_ABFS_CONTAINER }}
ABFS_ACCOUNT: ${{ secrets.AZURE_ABFS_ACCOUNT }}
ABFS_ACCESS_KEY: ${{ secrets.AZURE_ABFS_ACCESSKEY }}
run: |
if [ "${ABFS_CONTAINER}" != "" ]; then
source plugin/trino-hive-hadoop2/conf/hive-tests-${{ matrix.config }}.sh &&
plugin/trino-hive-hadoop2/bin/run_hive_abfs_access_key_tests.sh
fi
- name: Run Hive Azure ABFS OAuth Tests
if: matrix.config != 'config-empty' # Hive 1.x does not support Azure storage
env:
ABFS_CONTAINER: ${{ secrets.AZURE_ABFS_CONTAINER }}
ABFS_ACCOUNT: ${{ secrets.AZURE_ABFS_ACCOUNT }}
ABFS_OAUTH_ENDPOINT: ${{ secrets.AZURE_ABFS_OAUTH_ENDPOINT }}
ABFS_OAUTH_CLIENTID: ${{ secrets.AZURE_ABFS_OAUTH_CLIENTID }}
ABFS_OAUTH_SECRET: ${{ secrets.AZURE_ABFS_OAUTH_SECRET }}
run: |
if [ -n "$ABFS_CONTAINER" ]; then
source plugin/trino-hive-hadoop2/conf/hive-tests-${{ matrix.config }}.sh &&
plugin/trino-hive-hadoop2/bin/run_hive_abfs_oauth_tests.sh
fi
- name: Run Hive Azure WASB Tests
if: matrix.config != 'config-empty' # Hive 1.x does not support Azure storage
env:
WASB_CONTAINER: ${{ secrets.AZURE_WASB_CONTAINER }}
WASB_ACCOUNT: ${{ secrets.AZURE_WASB_ACCOUNT }}
WASB_ACCESS_KEY: ${{ secrets.AZURE_WASB_ACCESSKEY }}
run: |
if [ "${WASB_CONTAINER}" != "" ]; then
source plugin/trino-hive-hadoop2/conf/hive-tests-${{ matrix.config }}.sh &&
plugin/trino-hive-hadoop2/bin/run_hive_wasb_tests.sh
fi
- name: Run Hive Azure ADL Tests
if: matrix.config != 'config-empty' # Hive 1.x does not support Azure storage
env:
ADL_NAME: ${{ secrets.AZURE_ADL_NAME }}
ADL_CLIENT_ID: ${{ secrets.AZURE_ADL_CLIENTID }}
ADL_CREDENTIAL: ${{ secrets.AZURE_ADL_CREDENTIAL }}
ADL_REFRESH_URL: ${{ secrets.AZURE_ADL_REFRESHURL }}
run: |
if [ "${ADL_NAME}" != "" ]; then
source plugin/trino-hive-hadoop2/conf/hive-tests-${{ matrix.config }}.sh &&
plugin/trino-hive-hadoop2/bin/run_hive_adl_tests.sh
fi
- name: Upload test results
uses: actions/upload-artifact@v3
# Upload all test reports only on failure, because the artifacts are large
Expand Down Expand Up @@ -475,6 +407,7 @@ jobs:
!:trino-memory,
!:trino-mongodb,
!:trino-mysql,
!:trino-opensearch,
!:trino-oracle,
!:trino-orc,
!:trino-parquet,
Expand Down Expand Up @@ -579,7 +512,7 @@ jobs:
- { modules: lib/trino-filesystem-gcs, profile: cloud-tests }
- { modules: plugin/trino-accumulo }
- { modules: plugin/trino-bigquery }
- { modules: plugin/trino-bigquery, profile: cloud-tests-arrow-and-fte }
- { modules: plugin/trino-bigquery, profile: cloud-tests-2 }
- { modules: plugin/trino-cassandra }
- { modules: plugin/trino-clickhouse }
- { modules: plugin/trino-delta-lake }
Expand All @@ -602,6 +535,7 @@ jobs:
- { modules: plugin/trino-mariadb }
- { modules: plugin/trino-mongodb }
- { modules: plugin/trino-mysql }
- { modules: plugin/trino-opensearch }
- { modules: plugin/trino-oracle }
- { modules: plugin/trino-phoenix5 }
- { modules: plugin/trino-pinot }
Expand Down Expand Up @@ -658,7 +592,7 @@ jobs:
matrix.modules != 'plugin/trino-singlestore'
&& ! (contains(matrix.modules, 'trino-delta-lake') && contains(matrix.profile, 'cloud-tests'))
&& ! (contains(matrix.modules, 'trino-iceberg') && contains(matrix.profile, 'cloud-tests'))
&& ! (contains(matrix.modules, 'trino-bigquery') && contains(matrix.profile, 'cloud-tests-arrow-and-fte'))
&& ! (contains(matrix.modules, 'trino-bigquery') && contains(matrix.profile, 'cloud-tests-2'))
&& ! (contains(matrix.modules, 'trino-redshift') && contains(matrix.profile, 'cloud-tests'))
&& ! (contains(matrix.modules, 'trino-redshift') && contains(matrix.profile, 'fte-tests'))
&& ! (contains(matrix.modules, 'trino-filesystem-s3') && contains(matrix.profile, 'cloud-tests'))
Expand Down Expand Up @@ -761,25 +695,25 @@ jobs:
env:
BIGQUERY_CREDENTIALS_KEY: ${{ secrets.BIGQUERY_CREDENTIALS_KEY }}
GCP_STORAGE_BUCKET: ${{ vars.GCP_STORAGE_BUCKET }}
if: matrix.modules == 'plugin/trino-bigquery' && !contains(matrix.profile, 'cloud-tests-arrow-and-fte') && (env.CI_SKIP_SECRETS_PRESENCE_CHECKS != '' || env.BIGQUERY_CREDENTIALS_KEY != '')
if: matrix.modules == 'plugin/trino-bigquery' && !contains(matrix.profile, 'cloud-tests-2') && (env.CI_SKIP_SECRETS_PRESENCE_CHECKS != '' || env.BIGQUERY_CREDENTIALS_KEY != '')
run: |
$MAVEN test ${MAVEN_TEST} -pl :trino-bigquery -Pcloud-tests \
$MAVEN test ${MAVEN_TEST} -pl :trino-bigquery -Pcloud-tests-1 \
-Dbigquery.credentials-key="${BIGQUERY_CREDENTIALS_KEY}" \
-Dtesting.gcp-storage-bucket="${GCP_STORAGE_BUCKET}" \
-Dtesting.alternate-bq-project-id=bigquery-cicd-alternate
- name: Cloud BigQuery Arrow and FTE Tests
-Dtesting.gcp-storage-bucket="${GCP_STORAGE_BUCKET}"
- name: Cloud BigQuery Smoke Tests
env:
BIGQUERY_CREDENTIALS_KEY: ${{ secrets.BIGQUERY_CREDENTIALS_KEY }}
GCP_STORAGE_BUCKET: ${{ vars.GCP_STORAGE_BUCKET }}
if: matrix.modules == 'plugin/trino-bigquery' && contains(matrix.profile, 'cloud-tests-arrow-and-fte') && (env.CI_SKIP_SECRETS_PRESENCE_CHECKS != '' || env.BIGQUERY_CREDENTIALS_KEY != '')
if: matrix.modules == 'plugin/trino-bigquery' && contains(matrix.profile, 'cloud-tests-2') && (env.CI_SKIP_SECRETS_PRESENCE_CHECKS != '' || env.BIGQUERY_CREDENTIALS_KEY != '')
run: |
$MAVEN test ${MAVEN_TEST} -pl :trino-bigquery -Pcloud-tests-arrow-and-fte \
$MAVEN test ${MAVEN_TEST} -pl :trino-bigquery -Pcloud-tests-2 \
-Dbigquery.credentials-key="${BIGQUERY_CREDENTIALS_KEY}" \
-Dtesting.gcp-storage-bucket="${GCP_STORAGE_BUCKET}"
-Dtesting.gcp-storage-bucket="${GCP_STORAGE_BUCKET}" \
-Dtesting.alternate-bq-project-id=bigquery-cicd-alternate
- name: Cloud BigQuery Case Insensitive Mapping Tests
env:
BIGQUERY_CASE_INSENSITIVE_CREDENTIALS_KEY: ${{ secrets.BIGQUERY_CASE_INSENSITIVE_CREDENTIALS_KEY }}
if: matrix.modules == 'plugin/trino-bigquery' && !contains(matrix.profile, 'cloud-tests-arrow-and-fte') && (env.CI_SKIP_SECRETS_PRESENCE_CHECKS != '' || env.BIGQUERY_CASE_INSENSITIVE_CREDENTIALS_KEY != '')
if: matrix.modules == 'plugin/trino-bigquery' && !contains(matrix.profile, 'cloud-tests-2') && (env.CI_SKIP_SECRETS_PRESENCE_CHECKS != '' || env.BIGQUERY_CASE_INSENSITIVE_CREDENTIALS_KEY != '')
run: |
$MAVEN test ${MAVEN_TEST} -pl :trino-bigquery -Pcloud-tests-case-insensitive-mapping -Dbigquery.credentials-key="${BIGQUERY_CASE_INSENSITIVE_CREDENTIALS_KEY}"
- name: Cloud Snowflake Tests
Expand Down Expand Up @@ -971,7 +905,7 @@ jobs:
- suite-5
- suite-6-non-generic
- suite-7-non-generic
- suite-8-non-generic
- suite-hive-transactional
- suite-azure
- suite-delta-lake-databricks91
- suite-delta-lake-databricks104
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'trinodb/trino'
steps:
- uses: actions/stale@v8.0.0
- uses: actions/stale@v9.0.0
with:
stale-pr-message: 'This pull request has gone a while without any activity. Tagging the Trino developer relations team: @bitsondatadev @colebow @mosabua'
days-before-pr-stale: 21
Expand All @@ -21,3 +21,7 @@ jobs:
stale-pr-label: 'stale'
start-date: '2023-01-01T00:00:00Z'
exempt-draft-pr: true
operations-per-run: 200
# Avoid processing issues completely, see https://github.com/actions/stale/issues/1112
days-before-issue-stale: -1
days-before-issue-close: -1
2 changes: 2 additions & 0 deletions .mvn/jvm.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
-XX:+UnlockDiagnosticVMOptions
-XX:GCLockerRetryAllocationCount=100
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ information about reporting vulnerabilities.
## Build requirements

* Mac OS X or Linux
* Java 17.0.4+, 64-bit
* Java 21.0.1+, 64-bit
* Docker
* Turn SELinux or other systems disabling write access to the local checkout
off, to allow containers to mount parts of the Trino source tree

## Building Trino

Expand Down Expand Up @@ -68,8 +70,8 @@ After opening the project in IntelliJ, double check that the Java SDK is
properly configured for the project:

* Open the File menu and select Project Structure
* In the SDKs section, ensure that JDK 17 is selected (create one if none exist)
* In the Project section, ensure the Project language level is set to 17
* In the SDKs section, ensure that JDK 21 is selected (create one if none exist)
* In the Project section, ensure the Project language level is set to 21

### Running a testing server

Expand Down
10 changes: 2 additions & 8 deletions client/trino-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.trino</groupId>
<artifactId>trino-root</artifactId>
<version>435-SNAPSHOT</version>
<version>436-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand All @@ -15,7 +15,7 @@
<air.main.basedir>${project.parent.basedir}</air.main.basedir>
<project.build.targetJdk>8</project.build.targetJdk>
<main-class>io.trino.cli.Trino</main-class>
<dep.jline.version>3.24.1</dep.jline.version>
<dep.jline.version>3.25.0</dep.jline.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -147,12 +147,6 @@
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
8 changes: 1 addition & 7 deletions client/trino-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.trino</groupId>
<artifactId>trino-root</artifactId>
<version>435-SNAPSHOT</version>
<version>436-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -122,11 +122,5 @@
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
import static com.google.common.base.Preconditions.checkState;
import static com.google.common.collect.ImmutableList.toImmutableList;
import static io.trino.client.ClientStandardTypes.ROW;
import static io.trino.client.ClientStandardTypes.TIMESTAMP_WITH_TIME_ZONE;
import static io.trino.client.ClientStandardTypes.TIME_WITH_TIME_ZONE;
import static io.trino.client.ClientStandardTypes.VARCHAR;
import static java.util.Collections.unmodifiableList;
import static java.util.Objects.requireNonNull;
Expand Down Expand Up @@ -94,6 +96,15 @@ public String toString()
if (arguments.isEmpty()) {
return rawType;
}

if (rawType.equals(TIME_WITH_TIME_ZONE)) {
return "time(" + arguments.get(0) + ") with time zone";
}

if (rawType.equals(TIMESTAMP_WITH_TIME_ZONE)) {
return "timestamp(" + arguments.get(0) + ") with time zone";
}

return rawType + arguments.stream()
.map(ClientTypeSignatureParameter::toString)
.collect(joining(",", "(", ")"));
Expand Down
16 changes: 14 additions & 2 deletions client/trino-jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.trino</groupId>
<artifactId>trino-root</artifactId>
<version>435-SNAPSHOT</version>
<version>436-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -193,7 +193,7 @@

<dependency>
<groupId>io.trino</groupId>
<artifactId>trino-hive-hadoop2</artifactId>
<artifactId>trino-hive</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
Expand All @@ -207,6 +207,12 @@
<groupId>io.trino</groupId>
<artifactId>trino-main</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>io.trino</groupId>
<artifactId>re2j</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down Expand Up @@ -237,6 +243,12 @@
<groupId>io.trino</groupId>
<artifactId>trino-testing</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>io.trino</groupId>
<artifactId>re2j</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down
Loading
Loading