Skip to content
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

Error when generating metadata of file with 155 columns #2847

Open
Maegor opened this issue Nov 20, 2023 · 0 comments
Open

Error when generating metadata of file with 155 columns #2847

Maegor opened this issue Nov 20, 2023 · 0 comments
Labels

Comments

@Maegor
Copy link

Maegor commented Nov 20, 2023

Hello!
I have problems to generate the metadata of a Parquet file in S3 with 156 columns (some with long names). Drill version is 1.21.1
In my IDE I see the error:
"SQL Error: INTERNAL_ERROR ERROR: Code generation error - likely code error. Fragment: 0:0"

I attach the complete log (error_drill_metadata.log) where you can see much more detail.
For example:
"Caused by: java.lang.Exception: File 'org.apache.drill.exec.compile.DrillJavaFileObject[StreamingAggregatorGen1872.java]', Line 13982, Column 18: StreamingAggregatorGen1872.java:13982: error: code too large".
error_drill_metadata.log

Step to reproduce:

  1. Upload the empty_parquet.parquet ( inside empty_parquet.zip) file to an S3 bucket. For example. "s3://your-bucker/empty_parquet/empty_parquet.parquet
  2. Configure Drill to access the bucket
  3. Execute the command "ANALYZE TABLE s3.empty_parquet refresh METADATA;".
@Maegor Maegor added the bug label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant