Skip to content

Commit

Permalink
Merge pull request #28819: TPC-DS: Fix CSV format
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanenko-dev authored Oct 4, 2023
2 parents 9efdf6b + a9684c5 commit 0a560fc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,8 @@ public static void runUsingSqlTransform(String[] args) throws Exception {

// Make an array of pipelines, each pipeline is responsible for running a corresponding query.
Pipeline[] pipelines = new Pipeline[queryNames.length];
CSVFormat csvFormat = CSVFormat.MYSQL.withDelimiter('|').withNullString("");
CSVFormat csvFormat =
CSVFormat.MYSQL.withDelimiter('|').withTrailingDelimiter().withNullString("");

// Execute all queries, transform each result into a PCollection<String>, write them into
// the txt file and store in a GCP directory.
Expand Down

0 comments on commit 0a560fc

Please sign in to comment.