You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
About sort field of non-aggregation table sql statement #15
In non-aggregation type of table, columns are not distinguished between dimensions and metrics, but should specify the sort columns in order to sort all rows. Palo will sort the table data according to the sort columns without any aggregation. The following figure gives an example of creating non-aggregation table.
-- Create non-aggregation table --
CREATE TABLE example_tbl (
`date` DATE,
id BIGINT,
country VARCHAR(32),
click BIGINT,
cost BIGINT
) DUPLICATE KEY(`date`, id, country)
DISTRIBUTED BY HASH(id) BUCKETS 32;
should specify the sort columns in order to sort all rows
Question:
where is the sort column in sql statement? I assumed it should be like: date DATE Sort,
right? Is there something missing?
Activity
imay commentedon Aug 16, 2017
DUBPLICATE KEY is sort key, so data will sorted by (
date, id, country)interma commentedon Aug 16, 2017
@imay thanks, clearly.
PS:
As we talked in wechat group, you can give a question label to this issue.
imay commentedon Aug 16, 2017
thanks for advise
support multi-tablet group by agg (apache#15)
support multi-tablet group by agg (apache#15)
support multi-tablet group by agg (apache#15)
[fix](ut) fix a potential memory leak in BE ut
Squashed commit of the following:
Squashed commit of the following: (#1)
Squashed commit of the following: (#2)
Co-authored-by: Luwei <814383175@qq.com>
Squashed commit of the following:
Squashed commit of the following(beyond FE):
166 remaining items
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](be) Avoid scan executor shutdown use after free (#65220)
[fix](fe) Mark IVM binlog broken on metadata data changes (apache#15)
[fix](fe) Derive IVM binlog broken from DDL (apache#17)
[fix](fe) Mark IVM binlog broken on metadata data changes (apache#15)
[fix](fe) Derive IVM binlog broken from DDL (apache#17)
[fix](fe) Mark IVM binlog broken on metadata data changes (apache#15)
[fix](fe) Derive IVM binlog broken from DDL (apache#17)
[fix](fe) Mark IVM binlog broken on metadata data changes (apache#15)
[fix](fe) Derive IVM binlog broken from DDL (apache#17)
[fix](fe) Mark IVM binlog broken on metadata data changes (apache#15)
[fix](fe) Derive IVM binlog broken from DDL (apache#17)
[fix](rle) Fix infinite loop when a repeated run reaches 2^30 values (#…
[fix](rle) Fix infinite loop when a repeated run reaches 2^30 values (#…