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

Rebased to 432-SNAPSHOT and fixed the issue by reviewer. #7

Merged
merged 2,992 commits into from
Oct 31, 2023
Merged
Changes from 1 commit
Commits
Show all changes
2992 commits
Select commit Hold shift + click to select a range
60b9fc1
Cleanly reject session authorization queries for unsupported clients
b-slim Oct 1, 2023
5d30e40
Fix correctness issue when query contains some not-equals in MongoDB
ebyhr Oct 18, 2023
b29dd1c
Upgrade docker-images to version 87
ebyhr Oct 18, 2023
a7ee79d
Update singlestore-jdbc-client to 1.2.0
wendigo Oct 18, 2023
4278a7b
Refactor TestRetryingConnectionFactory and TestLazyConnectionFactory
dominikzalewski Oct 2, 2023
0aa751a
Simplify ConnectionFactory chain of responsibility
dominikzalewski Oct 10, 2023
74012e3
Pluggable retry strategy for RetryingConnectionFactory
dominikzalewski Oct 10, 2023
a098d04
Do not allocate memory for all queries scanning system.* tables
losipiuk Oct 19, 2023
d9fbf8a
Remove eliminating sort optimization
takezoe Oct 16, 2023
574c061
Vectorize Hashing in FlatGroupByHash
pettyjamesm Oct 2, 2023
38d41de
Unwrap lazy group-by blocks for hash aggregations
pettyjamesm Oct 17, 2023
1ea28e4
Unwrap lazy input for GroupedAggregator
pettyjamesm Oct 17, 2023
b05c8fa
Avoid redundant calculation of columnsWithMinMaxStats
findinpath Oct 19, 2023
dc3f936
Remove unhelpful comment in CheckpointEntryIterator
ebyhr Oct 19, 2023
6e9fa19
Update function security documentation
dain Oct 20, 2023
7afbf05
Reduce test flakiness
martint Oct 20, 2023
2f5645e
Remove broken test case
martint Oct 12, 2023
e053550
Reset schema mapping in test
martint Oct 19, 2023
0938e6d
Remove unnecessary data provider
martint Oct 12, 2023
966f552
Migrate tests to JUnit
martint Oct 12, 2023
107b6c4
Use assertEventually in BigQuery assertLabelForTable
ebyhr Oct 20, 2023
5aa7b0c
Reformat DEVELOPMENT.md: Git merge strategy to 72 characters column
dominikzalewski Oct 20, 2023
0abfb9a
Update DEVELOPMENT.md: Git merge strategy
dominikzalewski Oct 11, 2023
cd2ebf2
Add "test" environment tag to temporary S3 test buckets used by CI
charlesjmorgan Oct 11, 2023
82be8a7
Switch error code to TABLE_NOT_FOUND if all columns filtered out
codyzwief Jul 28, 2023
586f656
Update Kafka clients to 3.6.0
wendigo Oct 19, 2023
f965287
Update zookeeper to 3.9.1
wendigo Oct 19, 2023
f604d11
Add missing JUnit lifecycle annotation
martint Oct 20, 2023
ac4ed56
Add missing @Test annotation to overriden test for HiveGlueMetastore
wendigo Oct 20, 2023
f41150c
Merge two @BeforeAll methods to ensure proper initialization
wendigo Oct 20, 2023
eda58ca
Disable non-supported test case for Glue
wendigo Oct 20, 2023
6aa9ee3
Remove unnecessary test
martint Oct 20, 2023
0a8865b
Improve SQL language landing pages
mosabua Sep 26, 2023
c3f03e0
Convert tables in docs to markdown source
mosabua Oct 2, 2023
b1c629a
Update confluent to 7.4.1
wendigo Aug 16, 2023
a5ce83d
Don't pushdown like expression with escape in Ignite connector
chenjian2664 Oct 19, 2023
0d7ba94
Add docs for table stats with MariaDB
mosabua Oct 20, 2023
29afbf2
Add Trino 430 release notes
colebow Oct 17, 2023
1502444
[maven-release-plugin] prepare release 430
martint Oct 21, 2023
8f1813b
[maven-release-plugin] prepare for next development iteration
martint Oct 21, 2023
08665be
Add missing casts for NullLiteral
dain Oct 17, 2023
09f2164
Fix null row id check in update operations
dain Oct 20, 2023
29a4f5e
Create correct block type in TestSpatialPartitioningInternalAggregation
dain Oct 17, 2023
5d5ab7f
Create correct block type in TestStatistics
dain Oct 17, 2023
c48bb42
Skip already coerced blocks in Hive TypeCoercer
dain Oct 20, 2023
41eb629
Fix ORC validation hash assumption that all timestamps are short
dain Oct 17, 2023
5d8bb7f
Add ValueBlock interface
dain Jul 14, 2023
4c12e86
Add Block getUnderlyingValueBlock and getUnderlyingValuePosition
dain Jul 14, 2023
797129b
Change RLE value to ValueBlock
dain Jul 14, 2023
f9b8651
Change Block getSingleValueBlock to return ValueBlock
dain Jul 14, 2023
82b4510
Change dictionary to be a ValueBlock
dain Jul 14, 2023
fb8aa17
Add static block to lookup constant method handles
dain Jul 15, 2023
af109f8
Add VALUE_BLOCK_POSITION and VALUE_BLOCK_POSITION_NOT_NULL convention
dain Jul 16, 2023
e5dff29
Convert Type operators to use ValueBlock
dain Jul 16, 2023
e14773b
Convert Array operators to ValueBlock
dain Jul 17, 2023
58a4228
Require that type operators use ValueBlock convention instead of Block
dain Jul 17, 2023
d886200
Convert type tests to use ValueBlock convention
dain Jul 18, 2023
f08442e
Support ValueBlock in function system
dain Jul 18, 2023
7085ab9
Convert JoinDomainBuilder to ValueBlock
dain Jul 18, 2023
f76131c
Use separate position per input block in aggregation
dain Jul 18, 2023
0c0af9d
Convert aggregation functions to use ValueBlock
dain Jul 19, 2023
046b09d
Generate specialized loops for dictionary, rle, and masked aggregations
dain Sep 17, 2022
f36790d
Remove unused equals and hashCode from Accumulo Row and Field
dain Jul 19, 2023
bb48554
Remove unnecessary slice equals, hash, and compare methods from Block
dain Jul 19, 2023
6976566
Remove Block writeSliceTo method
dain Jul 19, 2023
5979827
Cleanup output appender warnings
dain Jul 19, 2023
a68a938
Simplify UnnestingPositionsAppender
dain Jul 19, 2023
d96c07b
Change PositionsAppender to use ValueBlocks
dain Jul 20, 2023
ef33e3c
Enforce ValueBlock types in PositionsAppender
dain Jul 20, 2023
639f893
Convert direct block getObject calls to type where type is available
dain Jul 21, 2023
faecfd3
Add direct value readers to ValueBlocks
dain Jul 21, 2023
4f55e74
Update CheckpointEntryIterator to use ValueBlocks
dain Jul 21, 2023
399cae9
Change BlockEncodings to explicitly down cast to block type
dain Jul 21, 2023
f4351a2
Fix warnings in Types
dain Jul 21, 2023
8c6cd17
Remove non-working implementations of Type getSlice
dain Jul 22, 2023
78b637e
Convert Types to use direct access methods on ValueBlocks
dain Jul 22, 2023
962e8db
Remove Hudi connector smoke tests with file-metastore
ebyhr Oct 20, 2023
057370c
Use switch expression in BaseHudiConnectorSmokeTest
ebyhr Oct 20, 2023
dc370ca
Upgrade dropwizard metrics to 4.2.21
wendigo Oct 20, 2023
2b36258
Upgrade swagger to 1.6.12
wendigo Oct 20, 2023
f950ce0
Update AWS SDK v1 to 1.12.560
wendigo Oct 20, 2023
7c46fb7
Update oauth2-oidc-sdk to 11.4
wendigo Oct 20, 2023
9c3dfd3
Update commons-io to 2.14.0
wendigo Oct 20, 2023
488d54d
Update grpc-bom to 1.59.0
wendigo Oct 20, 2023
8d2c5c6
Upgrade AWS SDK v2 to 2.21.4
wendigo Oct 20, 2023
ee8e754
Update maven-model to 3.9.5
wendigo Oct 20, 2023
6acbbc2
Upgrade commons-pool2 to 2.12.0
wendigo Oct 20, 2023
4fca781
Upgrade curator to 2.13.0
wendigo Oct 20, 2023
b390d6a
Upgrade datasketches-java to 3.3.0 and datasketches-memory to 2.1.0
wendigo Oct 20, 2023
5d74682
Upgrade jedis to 5.0.2
wendigo Oct 20, 2023
5b85dbd
Add revapi rules after 430 release
wendigo Oct 21, 2023
18e9cdb
Remove unnecessary VariableWidthBlock subclass in TestDictionaryBuilder
dain Oct 21, 2023
90f3ba1
Only allow ValueBlock implementations of Block
dain Oct 21, 2023
5c5c6e6
Split metastore timeout config for connect and read
electrum Oct 12, 2023
9a0ee74
Add equals() and hashCode() in DeltaLakeTransactionLogEntry
findinpath Oct 19, 2023
40add90
Support OR-ed condition in Delta checkpoint iterator
findinpath Oct 3, 2023
6db8a4d
Simplify how SQL injection is detected when using query.comment-format
dominikzalewski Oct 16, 2023
eb2c357
Correct release notes
dominikzalewski Oct 23, 2023
eeb3f68
Add Execute Immediate prepared statements support to JDBC
lpoulain Sep 12, 2023
ccd79be
Correct GRANT ROLES syntax
Jessie212 Oct 10, 2023
e67bd6a
Remove unnecessary comment
electrum Oct 23, 2023
9799746
Add directory permission tests for HDFS
electrum Oct 23, 2023
e77b848
Remove Hadoop usage from SemiTransactionalHiveMetastore
electrum Oct 19, 2023
271f6fa
Rename test class
findepi Oct 23, 2023
82733ce
Allow mixing all JUnit tests with TestNG
findepi Oct 24, 2023
db9f1b9
Migrate selected Iceberg tests to JUnit
findepi Oct 23, 2023
756fd78
Resolve Temurin JDK archives using adoptium API
wendigo Oct 24, 2023
33685e8
Remove Zulu JDK providers
wendigo Oct 24, 2023
a8b0a3a
Add parsing for SQL functions
electrum Aug 29, 2023
4de41c1
Handle functions when splitting statements in CLI
electrum Sep 23, 2023
9d3fd1b
Add SQL routine compiler
electrum Aug 30, 2023
4fb13d7
Remove dead code from test script
findepi Oct 23, 2023
ee8682c
Expand docs for Hive schema evolution type conversions
blvckcoffee Oct 24, 2023
bb66918
Update Iceberg from 1.3.1 to 1.4.1
Fokko Sep 28, 2023
b4760da
Disallow null offset in lead/lag window functions
martint Sep 12, 2023
d55ab9c
Document the new JDBC legacyPreparedStatements flag
lpoulain Oct 23, 2023
1030a66
Update docs/src/main/sphinx/client/jdbc.md
lpoulain Oct 23, 2023
7839ca7
Add inline SQL functions
dain Aug 30, 2023
c35b6ab
Add @ConfigSecuritySensitive to thrift configuration
wendigo Oct 24, 2023
00480a7
Add @ConfigSecuritySensitive to Hive S3 proxy password
wendigo Oct 24, 2023
0765c10
Add @ConfigSecuritySensitive to Kinesis configuration
wendigo Oct 24, 2023
1038b13
Add @ConfigSecuritySensitive to FormWebUiConfig
wendigo Oct 24, 2023
f47ea43
Extract table properties creation for Iceberg as a separate method
mdesmet Oct 11, 2023
386dc92
Remove obsolete schema check
mdesmet Oct 21, 2023
e73e1e9
Implement engine support for `CREATE OR REPLACE TABLE`
mdesmet Jul 6, 2023
9755eb3
Implement `CREATE OR REPLACE TABLE` in trino-iceberg
mdesmet Aug 18, 2022
2771775
Add documentation for `CREATE OR REPLACE`
mdesmet Sep 30, 2023
76abea2
Migrate Iceberg Catalog tests to JUnit
findepi Oct 25, 2023
93e31ed
Update JLine to 3.24.0
wendigo Oct 25, 2023
0ecf561
Add regression test for sort elimination
takezoe Oct 23, 2023
ec0ebb3
Update core/trino-main/src/test/java/io/trino/sql/planner/optimizatio…
takezoe Oct 25, 2023
b892a70
Add CREATE FUNCTION and DROP FUNCTION
electrum Aug 31, 2023
b419cab
Support SQL functions in Hive
electrum Sep 2, 2023
84f83cb
Add documentation for SQL routines
mosabua Aug 29, 2023
306bb37
Increase split processing config parameters
Dith3r Oct 23, 2023
8ffbf52
Normalize OR and IN expressions referencing the same symbol as IN
chenjian2664 Oct 18, 2023
bcbf2c5
Fix formatting
kasiafi Oct 23, 2023
04c89fb
Add file-based access control for procedures
kasiafi Oct 23, 2023
c73a140
Retry updating the table statistics in the context of concurrent modi…
findinpath Oct 20, 2023
aa0f46f
Use tempto jdbc_jar for Delta query executor
ebyhr Oct 24, 2023
6d55b65
Fix formatting in PredicatePushDown#createDynamicFilters arguments list
Oct 25, 2023
04e350c
Skip testing JDBC compatibility for versions 422-424
wendigo Oct 25, 2023
f3da545
Ignore task failure in FTE if another task did the job
losipiuk Oct 18, 2023
79ae51b
Use more explicit naming in SplitAssignerTester
losipiuk Oct 18, 2023
c2807e7
Preserve sourcePartition to Splits mapping in task descriptor
losipiuk Oct 18, 2023
8df5a63
Test access operations for `CREATE OR REPLACE TABLE`
findinpath Oct 25, 2023
7e1750d
Remove unnecessary data provider
martint Oct 26, 2023
9fd4f9e
Migrate test to JUnit
martint Oct 26, 2023
b575d7a
Rename legacyPreparedStatements to explicitPrepare
martint Oct 26, 2023
9894dbb
Cast char fields, if necessary, to varchar type in view translations
findinpath Oct 5, 2023
ee65920
Move Delta snapshot loading to DeltaLakeMetadata
pajaks Oct 24, 2023
1cf1261
Add example for routine storage config
mosabua Oct 27, 2023
0fe36fa
Add Trino 431 release notes
mosabua Oct 23, 2023
35591dc
[maven-release-plugin] prepare release 431
martint Oct 27, 2023
7e11e43
[maven-release-plugin] prepare for next development iteration
martint Oct 27, 2023
b67f9f6
Delete all objects before deleting s3 bucket used for ci
charlesjmorgan Oct 27, 2023
8b8eb04
Remove unnecessary test abstraction
martint Oct 26, 2023
2f77b4d
Remove unnecessary data provider
martint Oct 25, 2023
1e03f76
Migrate tests to JUnit
martint Oct 25, 2023
b9bc338
Write min/max statistics with truncation for strings in parquet
raunaqmorarka Sep 14, 2023
944ffa9
Remove unnecessary data provider
martint Oct 27, 2023
bdd0b15
Migrate tests to JUnit
martint Oct 27, 2023
d7406d1
Remove outdated SPI revapi exclusions
dain Oct 29, 2023
d3fc4c0
Fix visibility of SqlMap constructor using HashTableSupplier
dain Oct 29, 2023
be94a53
Add toString to CanonicalColumnName
dain Oct 28, 2023
b946791
Change RowBlock to be not null-suppressed
dain Oct 22, 2023
ba0e257
Remove unnecessary data provider
martint Oct 28, 2023
9d6d75b
Migrate to AssertJ
martint Oct 28, 2023
92728e7
Migrate tests to JUnit
martint Oct 28, 2023
4893883
Remove unnecessary data provider
martint Oct 28, 2023
b494714
Migrate to AssertJ
martint Oct 28, 2023
e5ce443
Migrate tests to JUnit
martint Oct 28, 2023
dfe6065
Fix broken delta lake tests
martint Oct 29, 2023
e23214d
Remove unnecessary data provider
martint Oct 29, 2023
a07a4f4
Migrate tests to JUnit
martint Oct 29, 2023
b4b99be
Move QueryAssertions initialization to constructor
martint Oct 29, 2023
e9c7639
Avoid double overrides of `supportsPhysicalPushdown` in Iceberg
findepi Oct 27, 2023
1098454
Add missing FileOperations for DeltaLakeFileOperations test
Praveen2112 Oct 30, 2023
30b4206
Remove sortpom-maven-plugin from pom.xml
oneonestar Oct 30, 2023
68a5ffa
Support predicate pushdown on floating point types in mongodb
brandboat Oct 30, 2023
3e57d68
Add Snowflake JDBC Connector
yuuteng Dec 22, 2021
c04218c
Update trino snapshot version to 372
yuuteng Feb 18, 2022
0975b4b
Update format of the doc of snowflake
yuuteng Feb 18, 2022
8119de3
Update trino jdbc library import
yuuteng Feb 18, 2022
71debf8
Fix date formatter from yyyy to uuuu
yuuteng Feb 21, 2022
ea6de31
Fix date test case
yuuteng Feb 21, 2022
c96c0fc
Remove defunct property allow-drop-table
yuuteng Feb 21, 2022
0792d84
Update trino version to 374
yuuteng Mar 14, 2022
dff146e
Update snowflake config to adapt 374
yuuteng Mar 14, 2022
89de21e
Update the range of the test of Date type
yuuteng Mar 14, 2022
bb9d41e
Update to version 375
yuuteng Mar 22, 2022
fee258f
Fix snowflake after updating to 375
yuuteng Mar 22, 2022
3fcc85f
Update to 381
yuuteng May 16, 2022
a7e664f
Fix mvn pom import
yuuteng May 16, 2022
79eb0e9
Format snowflake.rst
yuuteng May 16, 2022
f74437a
Reorderd Data tests in type mapping
yuuteng May 16, 2022
68dbcbf
Update function code
yuuteng May 16, 2022
e322123
Add product test
yuuteng May 16, 2022
588a0e7
Rename product test tablename
yuuteng May 16, 2022
86d2b03
Add Env, Suite and properties of Snowflake for production test
yuuteng May 16, 2022
28585fe
Add trinoCreateAndInsert()
yuuteng May 16, 2022
d211b72
Refactor snowflake from single node to multi node
yuuteng May 17, 2022
c797dc9
Pass product tests
yuuteng May 18, 2022
376a442
Removed snowflake.properties in trino server dev
yuuteng May 18, 2022
a005620
Resolved issues 19 05 2022 and fixed tests
yuuteng May 19, 2022
fc5303b
Remove Types.VARBINARY
yuuteng May 20, 2022
947117c
Add private static SliceWriteFunction charWriteFunction
yuuteng May 31, 2022
70e1ef4
Update test case
yuuteng May 31, 2022
53aea68
Update plugin/trino-snowflake/src/main/java/io/trino/plugin/snowflake…
yuuteng Jun 16, 2022
811301a
Update docs/src/main/sphinx/connector/snowflake.rst
yuuteng Jun 16, 2022
162ea7b
Update plugin/trino-snowflake/pom.xml
yuuteng Jun 16, 2022
1256edf
Update plugin/trino-snowflake/src/main/java/io/trino/plugin/snowflake…
yuuteng Jun 16, 2022
0987d84
Resolved review open issues
yuuteng Jun 16, 2022
6a7d690
Disabled JDBC_TREAT_DECIMAL_AS_INT and fixed test case
yuuteng Jun 16, 2022
86db667
Updated properties file
yuuteng Jun 17, 2022
cd0bf1f
Updated properties files
yuuteng Jun 17, 2022
c33ccab
Renamed properties in Testing
yuuteng Jun 17, 2022
58cd28a
Revert "Renamed properties in Testing"
yuuteng Jun 17, 2022
c831c84
Renamed properties and fixed tests
yuuteng Jun 17, 2022
69c8b30
Update the way to pass ENV values for production test
yuuteng Jun 24, 2022
237ad63
Update trino version to 388
yuuteng Jun 24, 2022
7ebc9e9
Update Trino version 391
yuuteng Jul 18, 2022
d1953bd
Update trino version to 394
yuuteng Aug 26, 2022
957fcb8
Update to 395
yuuteng Aug 31, 2022
18019b8
Update to 411
yuuteng Mar 22, 2023
2cc5c27
Update and fix errors
yuuteng Mar 27, 2023
c14101e
Build successfully with 411
yuuteng Mar 27, 2023
939e7f0
Adding Bloomberg Snowflake connector.
dprophet Mar 17, 2023
0f3df7d
Adding varchar type to mapping Snowflake.
dprophet Mar 28, 2023
e201d44
Fixing some tests.
dprophet Apr 3, 2023
750fb55
Fix TestSnowflakeConnectorTest.
yuuteng Apr 5, 2023
95e4f8f
Fix type mapper
yuuteng Apr 6, 2023
46d3ac0
Fix testconnector
yuuteng Apr 6, 2023
5b1d407
Update version to 413-SNAPSHOT
yuuteng Apr 6, 2023
920cf31
Add product test
yuuteng May 16, 2022
a180faa
Add Env, Suite and properties of Snowflake for production test
yuuteng May 16, 2022
5343f6e
Refactor snowflake from single node to multi node
yuuteng May 17, 2022
a61f604
Removed snowflake.properties in trino server dev
yuuteng May 18, 2022
bbf41ff
Renamed properties in Testing
yuuteng Jun 17, 2022
0a5ad43
Revert "Renamed properties in Testing"
yuuteng Jun 17, 2022
f0fed2f
Update and fix errors
yuuteng Mar 27, 2023
c60add7
Adding Bloomberg Snowflake connector.
dprophet Mar 17, 2023
427baf1
Added support for HTTP_PROXY testing.
dprophet Apr 14, 2023
b59418b
Connector doesnt support setColumnType. This causes lots of problems …
dprophet Apr 14, 2023
873ff15
Fixed and skipped error tests
yuuteng Jun 2, 2023
7eb0230
Updated to 422
yuuteng Jul 10, 2023
89a31e1
Updated and fixed
yuuteng Jul 10, 2023
20a779b
Fix trino review 13-07-2023
yuuteng Jul 13, 2023
9ea0697
Add timestamp tests
yuuteng Jul 13, 2023
b10a001
Update version to 432-SNAPSHOT
yuuteng Oct 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove Hadoop usage from SemiTransactionalHiveMetastore
  • Loading branch information
electrum committed Oct 24, 2023
commit e77b84893658dd422df9677bb3b3e5b9ccad7cd9
Original file line number Diff line number Diff line change
@@ -32,7 +32,6 @@
import io.trino.filesystem.Location;
import io.trino.filesystem.TrinoFileSystem;
import io.trino.filesystem.TrinoFileSystemFactory;
import io.trino.hdfs.HdfsContext;
import io.trino.hdfs.HdfsEnvironment;
import io.trino.plugin.base.CatalogName;
import io.trino.plugin.base.projection.ApplyProjectionUtil;
@@ -127,7 +126,6 @@
import io.trino.spi.type.VarcharType;
import org.apache.avro.Schema;
import org.apache.avro.SchemaParseException;
import org.apache.hadoop.fs.Path;

import java.io.FileNotFoundException;
import java.io.IOException;
@@ -1833,7 +1831,7 @@ public Optional<ConnectorOutputMetadata> finishCreateTable(ConnectorSession sess
tableStatistics = new PartitionStatistics(createEmptyStatistics(), ImmutableMap.of());
}

Optional<Path> writePath = Optional.of(new Path(writeInfo.writePath().toString()));
Optional<Location> writePath = Optional.of(writeInfo.writePath());
if (handle.getPartitionedBy().isEmpty()) {
List<String> fileNames;
if (partitionUpdates.isEmpty()) {
@@ -2208,7 +2206,7 @@ private Table finishChangingTable(AcidOperation acidOperation, String changeDesc
session,
table,
principalPrivileges,
Optional.of(new Path(partitionUpdate.getWritePath().toString())),
Optional.of(partitionUpdate.getWritePath()),
Optional.of(partitionUpdate.getFileNames()),
false,
partitionStatistics,
@@ -2268,8 +2266,8 @@ else if (partitionUpdate.getUpdateMode() == NEW || partitionUpdate.getUpdateMode
if (handle.getLocationHandle().getWriteMode() == DIRECT_TO_TARGET_EXISTING_DIRECTORY) {
removeNonCurrentQueryFiles(session, partitionUpdate.getTargetPath());
if (handle.isRetriesEnabled()) {
HdfsContext hdfsContext = new HdfsContext(session);
cleanExtraOutputFiles(hdfsEnvironment, hdfsContext, session.getQueryId(), partitionUpdate.getTargetPath(), ImmutableSet.copyOf(partitionUpdate.getFileNames()));
TrinoFileSystem fileSystem = fileSystemFactory.create(session);
cleanExtraOutputFiles(fileSystem, session.getQueryId(), partitionUpdate.getTargetPath(), ImmutableSet.copyOf(partitionUpdate.getFileNames()));
}
}
else {
Original file line number Diff line number Diff line change
@@ -238,7 +238,7 @@ public TransactionalMetadata create(ConnectorIdentity identity, boolean autoComm

DirectoryLister directoryLister = transactionScopeCachingDirectoryListerFactory.get(this.directoryLister);
SemiTransactionalHiveMetastore metastore = new SemiTransactionalHiveMetastore(
hdfsEnvironment,
fileSystemFactory,
hiveMetastoreClosure,
fileSystemExecutor,
dropExecutor,
Loading