Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
isha97 committed Oct 23, 2024
1 parent 375cfb8 commit bb85d1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ static String getQueryForTimePartitionedTable(
.filter(field -> partitionField.equals(field.getName()))
.map(field -> field.getType())
.findFirst();
// Using timestamp_trunc on a DATE filed results in $cast_to_DATETIME which prevents pruning
// Using timestamp_trunc on a DATE field results in $cast_to_DATETIME which prevents pruning
// when required_partition_filter is set, as it is not considered a monotonic function
if (partitionFieldType.isPresent() && partitionFieldType.get().equals(LegacySQLTypeName.DATE)) {
extractedPartitionedSource =
Expand Down

0 comments on commit bb85d1d

Please sign in to comment.