Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

[NSE-145] Support decimal in columnar window #151

Merged
merged 6 commits into from
Mar 11, 2021

Conversation

zhztheplayer
Copy link
Collaborator

@github-actions
Copy link

#145

@github-actions
Copy link


Copy link
Collaborator

@zhouyuan zhouyuan left a comment

Choose a reason for hiding this comment

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

avg is not ready yet, rest part looks good

}

TEST(TestArrowComputeWindow, DecimalAvgTest) {
return; // fixme decimal avg not supported?
Copy link
Collaborator

Choose a reason for hiding this comment

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

spark will cast decimal data to double in hash agg, i think we could follow this in window

StructField("cs_net_paid_inc_ship", DoubleType),
StructField("cs_net_paid_inc_ship_tax", DoubleType),
StructField("cs_net_profit", DoubleType)
StructField("cs_wholesale_cost", DecimalType(7, 2)),
Copy link
Collaborator

Choose a reason for hiding this comment

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

thanks for changing this to decimal!

@github-actions
Copy link


@github-actions
Copy link


@github-actions
Copy link


@github-actions
Copy link


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

Successfully merging this pull request may close these issues.

2 participants