Skip to content

Commit

Permalink
Exclude column schema from the partition call to optimize retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
parisni committed Feb 1, 2024
1 parent 68e574c commit 8299f34
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ private List<Partition> getPartitions(GetPartitionsRequest.Builder partitionRequ
String nextToken = null;
do {
GetPartitionsResponse result = awsGlue.getPartitions(partitionRequestBuilder
.excludeColumnSchema(true)
.nextToken(nextToken)
.build()).get();
partitions.addAll(result.partitions().stream()
Expand Down

0 comments on commit 8299f34

Please sign in to comment.