Skip to content

Commit

Permalink
fix: Fix duplicate primary keys in query results
Browse files Browse the repository at this point in the history
  • Loading branch information
zhourui999 committed Apr 7, 2024
1 parent b0ff65f commit 249dacd
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,10 @@ private List<DataSplit> generateSplits(
for (SplitGenerator.SplitGroup splitGroup : splitGroups) {
List<DataFileMeta> dataFiles = splitGroup.files;
builder.withDataFiles(dataFiles);
if (splitGroup.rawConvertible) {
builder.rawFiles(convertToRawFiles(partition, bucket, dataFiles));
}
builder.rawFiles(
splitGroup.rawConvertible
? convertToRawFiles(partition, bucket, dataFiles)
: Collections.emptyList());
if (deletionVectors) {
builder.withDataDeletionFiles(
getDeletionFiles(dataFiles, deletionIndexFile));
Expand Down

0 comments on commit 249dacd

Please sign in to comment.