Skip to content

Commit b2184a8

Browse files
kewang1024xiaoxmeng
authored andcommitted
[Native] Fix table writer to use the actual storage format for insert
#23923 fixed the create handle. As a follwup, also fix the InsertHandle
1 parent c3e18d8 commit b2184a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

presto-native-execution/presto_cpp/main/types/PrestoToVeloxConnector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,7 @@ HivePrestoToVeloxConnector::toVeloxInsertTableHandle(
12671267
return std::make_unique<connector::hive::HiveInsertTableHandle>(
12681268
inputColumns,
12691269
toLocationHandle(hiveInsertTableHandle->locationHandle),
1270-
toFileFormat(hiveInsertTableHandle->tableStorageFormat, "TableWrite"),
1270+
toFileFormat(hiveInsertTableHandle->actualStorageFormat, "TableWrite"),
12711271
toHiveBucketProperty(
12721272
inputColumns, hiveInsertTableHandle->bucketProperty, typeParser),
12731273
std::optional(

0 commit comments

Comments
 (0)