jonvex commented on code in PR #12056:
URL: https://github.com/apache/hudi/pull/12056#discussion_r1792372825
##########
hudi-spark-datasource/hudi-spark/src/test/java/org/apache/hudi/functional/TestNewHoodieParquetFileFormat.java:
##########
@@ -114,25 +117,42 @@ protected void runIndividualComparison(String
tableBasePath) {
}
protected void runIndividualComparison(String tableBasePath, String
firstColumn, String... columns) {
- Dataset<Row> legacyDf = sparkSession.read().format("hudi")
- .option(HoodieReaderConfig.FILE_GROUP_READER_ENABLED.key(), "false")
- .load(tableBasePath);
- Dataset<Row> fileFormatDf = sparkSession.read().format("hudi")
- .option(HoodieReaderConfig.FILE_GROUP_READER_ENABLED.key(), "true")
- .load(tableBasePath);
- if (firstColumn.isEmpty()) {
- //df.except(df) does not work with map type cols
- legacyDf = legacyDf.drop("city_to_state");
- fileFormatDf = fileFormatDf.drop("city_to_state");
- } else {
- if (columns.length > 0) {
- legacyDf = legacyDf.select(firstColumn, columns);
- fileFormatDf = fileFormatDf.select(firstColumn, columns);
+ List<String> queryTypes = new ArrayList<>();
Review Comment:
This test has updates in log files.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]