tpcds
tpcds copied to clipboard
fix invalid column names
- name typos fixed according to tpcds queries in spark
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: zhnwang. This is most likely caused by a git client misconfiguration; please make sure to:
- check if your git client is configured with an email to sign commits
git config --list | grep email
- If not, set it up using
git config --global user.email [email protected]
- Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please submit the signed CLA to [email protected]. For more information, see https://github.com/trinodb/cla.
Ref: https://tpc.org/TPC_Documents_Current_Versions/pdf/TPC-DS_v3.2.0.pdf
@zinking I think you should follow the tips to sign cla
@hashhar would you please take a look on this change?
@zinking I think you should follow the tips to sign cla
I remembered I signed presto cla before. anyways, this repo doesn't look active you can just patch back.
I signed presto cla before
@zinking This repository isn't managed by PrestoDB. Did you sign CLA of Trino https://github.com/trinodb/cla?
I signed presto cla before
@zinking This repository isn't managed by PrestoDB. Did you sign CLA of Trino https://github.com/trinodb/cla?
ok just signed.
cc @przemekak
@zinking would you please check the comments and update the PR?
@zinking would you please check the comments and update the PR?
I was running this result against queries in spark. if your conclusion is right, then it means queries in spark suit are wrong. I'm not sure what's in between.
also please review other occurences
src/main/java/io/trino/tpcds/column/CustomerColumn.java 44: C_LAST_REVIEW_DATE(IDENTIFIER);
src/main/java/io/trino/tpcds/generator/CustomerGeneratorColumn.java 41: C_LAST_REVIEW_DATE(131, 1),
src/main/java/io/trino/tpcds/row/CustomerRow.java 34:import static io.trino.tpcds.generator.CustomerGeneratorColumn.C_LAST_REVIEW_DATE; 120: getStringOrNull(cLastReviewDate, C_LAST_REVIEW_DATE));
src/main/java/io/trino/tpcds/row/generator/CustomerRowGenerator.java 48:import static io.trino.tpcds.generator.CustomerGeneratorColumn.C_LAST_REVIEW_DATE; 98: Date lastReviewDate = generateUniformRandomDate(oneYearAgo, today, getRandomNumberStream(C_LAST_REVIEW_DATE));
I was running this result against queries in spark. if your conclusion is right, then it means queries in spark suit are wrong.
I think as a library, it should respect the latest TPC-DS standard.
Spark uses the old version queries of TPC-DS, I raised an issue to handle the column name change in downstream project(Kyuubi)
@przemekak what about other occurrences, I think I didn't have errors using that before renaming, should those be kept or changed ?