Skip to content

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

Open
atris wants to merge 1 commit intotrinodb:masterfrom
atris:double_fix
Open

Implement DECIMAL type and remove DOUBLE type to conform with TPCH spec#23
atris wants to merge 1 commit intotrinodb:masterfrom
atris:double_fix

Conversation

@atris
Copy link
Copy Markdown

@atris atris commented Aug 1, 2018

No description provided.

RETAIL_PRICE("p_retailprice", DOUBLE)
RETAIL_PRICE("p_retailprice", DECIMAL)
{
public double getDouble(Part part)
Copy link
Copy Markdown
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
Copy Markdown
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?

IDENTIFIER,
DATE,
DOUBLE,
DECIMAL,
Copy link
Copy Markdown
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