Skip to content

[FEA] Qual tool should evaluate Hive formats support #1588

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
amahussein opened this issue Mar 13, 2025 · 1 comment
Open

[FEA] Qual tool should evaluate Hive formats support #1588

amahussein opened this issue Mar 13, 2025 · 1 comment
Assignees
Labels
core_tools Scope the core module (scala) feature request New feature or request

Comments

@amahussein
Copy link
Collaborator

amahussein commented Mar 13, 2025

Is your feature request related to a problem? Please describe.

The RAPIDS plugin added support to insertIntoHiveTable NVIDIA/spark-rapids#10912 . However, the dataSource.csv did not add a new entry to indicate that.

According to NVIDIA/spark-rapids#10912, the HiveParquet is supported when:

  • parquetOutputFormatClass = "org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat"
  • parquetSerdeClass = "org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe"
  • table is not bucketed

The problems:

  • InsertHiveTable in the eventlog shows the serDe library but I don't see the outputFormatClass.
  • How to find whether a table is bucketed or not ?
  • the qual prediction might be off if the user disable spark.sql.hive.convertMetastoreParquet on the GPU. Even if we recommend turning that on, there is no guarantee users can do it due to compatibility issues.

Other Formats:

I also see that HiveORC is converted into GPU. We might need to change the format to be "ORC" when the Spark configurations use native ORC.

InsertIntoHadoopFsRelationCommand HiveORC
# this will be transformed into 
GpuInsertIntoHadoopFsRelationCommand HiveORC

I kept eventlog representing that case in my scratch-folder under the same issue number (app-20250305030545-0000.zstd).

Related issues

#1583

@amahussein amahussein added ? - Needs Triage core_tools Scope the core module (scala) feature request New feature or request labels Mar 13, 2025
@amahussein amahussein changed the title [FEA] Qual tool should evaluate HiveParquet support [FEA] Qual tool should evaluate Hive formats support Apr 2, 2025
@amahussein
Copy link
Collaborator Author

amahussein commented Apr 3, 2025

See related bug filed on RAPIDS plugin Repo
blocked by NVIDIA/spark-rapids#12438

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core_tools Scope the core module (scala) feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants