wangyum commented on issue #24346: [SPARK-27176][FOLLOW-UP][SQL] Upgrade Hive parquet to 1.10.1 URL: https://github.com/apache/spark/pull/24346#issuecomment-484478622 It seems we can't support Hive's native vectorized reader and even enable `hive.vectorized.execution.enabled`. Hive's native vectorized reader needs set [setPlanPath(conf, hiveScratchDir)](https://github.com/apache/hive/blob/rel/release-2.3.4/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java#L559) first and [getPlanPath(conf)](https://github.com/apache/hive/blob/rel/release-2.3.4/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java#L3398) when running task on the executor. Case 1: `spark.sql(...)` does not set it, so `getPlanPath` is always null. Case 2: `hiveClient.runSqlHive(...)` sets it on the driver side, executor still can't get this value. So [Utilities.getUseVectorizedInputFileFormat](https://github.com/apache/hive/blob/rel/release-2.3.4/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java#L3386) is always false.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
