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

Tpcds connector generates invalid decimal values when locale is not en_US #8721

Open
sopel39 opened this issue Aug 11, 2017 · 3 comments
Open
Labels

Comments

@sopel39
Copy link
Contributor

sopel39 commented Aug 11, 2017

presto:tpcds_sf1> create table store_sales as select * from tpcds.sf1.store_sales;

Query 20170811_142857_00018_zwpth, FAILED, 1 node
Splits: 38 total, 3 done (7,89%)
0:00 [0 rows, 0B] [0 rows/s, 0B/s]

Query 20170811_142857_00018_zwpth failed: invalid decimal value '11,41'

I am using polish locale

FYI: @petroav @cawallin

@sopel39 sopel39 added the bug label Aug 11, 2017
@sopel39
Copy link
Contributor Author

sopel39 commented Aug 11, 2017

The problem is with com.teradata.tpcds.type.Decimal#toString. It doesn't use US locale

@findepi
Copy link
Contributor

findepi commented Aug 14, 2017

Should the issue be moved to https://github.com/Teradata/tpcds?

@kokosing
Copy link
Contributor

kokosing commented Sep 6, 2017

See Teradata/tpcds#27, it also affects Presto so I think issue should remain open.

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

3 participants