parthchandra commented on code in PR #1755:
URL: https://github.com/apache/datafusion-comet/pull/1755#discussion_r2098855366


##########
common/src/main/java/org/apache/comet/parquet/NativeBatchReader.java:
##########
@@ -229,7 +232,13 @@ public NativeBatchReader(AbstractColumnReader[] 
columnReaders) {
    * Initialize this reader. The reason we don't do it in the constructor is 
that we want to close
    * any resource hold by this reader when error happens during the 
initialization.
    */
-  public void init() throws URISyntaxException, IOException {
+  public void init() throws Throwable {
+
+    conf.set("spark.sql.parquet.binaryAsString", "false");
+    conf.set("spark.sql.parquet.int96AsTimestamp", "false");
+    conf.set("spark.sql.caseSensitive", "false");
+    conf.set("spark.sql.parquet.inferTimestampNTZ.enabled", "true");
+    conf.set("spark.sql.legacy.parquet.nanosAsLong", "false");

Review Comment:
   No I don't think so. `native_comet` appears to do the same.



-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to