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

Read null partition value problem #426

Open
lhuang09287750 opened this issue Apr 13, 2023 · 1 comment
Open

Read null partition value problem #426

lhuang09287750 opened this issue Apr 13, 2023 · 1 comment

Comments

@lhuang09287750
Copy link

lhuang09287750 commented Apr 13, 2023

Describe the unexpected behaviour
tpcds q99 result is not the same between spark and spark+ch backend

How to reproduce
test("TPCDS Q99") { runTPCDSQuery("q99") { df => } // Thread.sleep(1000000) }
add this to GlutenClickHouseTPCDSParquetSuite to reproduce

Expected behavior
cs_sold_date_sk is a partition column of table catalog_sales.
when cs_sold_date_sk has a null partition value(give some data in dir of 'cs_sold_date_sk=HIVE_DEFAULT_PARTITION')
spark+ch backend will read the null as the default value of cs_sold_date_sk's column type which is zero in q99's case.
This behavior is differrent from spark which will read the null just as null

@lhuang09287750
Copy link
Author

#427, that is the pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant