Skip to content

Aggregation over multiple fields #21

@TeweiLuo

Description

@TeweiLuo

For example, is something like

res = sp.partial_sql("SELECT ticker, trade_day min(price), max(price) FROM table GROUP BY ticker, trade_day", df)

supported?

Also we see in the README

df = df.repartition(3, hash_by="ticker")

which suggests that we need to manually shuffle the data before an aggregation. Is this strictly required?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions