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

Implement DECIMAL type and remove DOUBLE type to conform with TPCH spec #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

atris
Copy link

@atris atris commented Aug 1, 2018

No description provided.

@@ -79,7 +79,7 @@ public String getString(Part part)
},

@SuppressWarnings("SpellCheckingInspection")
RETAIL_PRICE("p_retailprice", DOUBLE)
RETAIL_PRICE("p_retailprice", DECIMAL)
{
public double getDouble(Part part)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this method needed? I would expect getLong here.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left the method here for completeness sake. Do you want to remove getDouble from here?

@@ -23,7 +23,7 @@
INTEGER,
IDENTIFIER,
DATE,
DOUBLE,
DECIMAL,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a comment that it precision = 2

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

Successfully merging this pull request may close these issues.

3 participants