flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Lee <philjj...@gmail.com>
Subject Hi, question about orderBy two columns more
Date Sun, 01 Nov 2015 19:29:21 GMT
Hi,

I know when applying order by col, it would be
sortPartition(col).setParralism(1)

What about orderBy two columns more?
If the sql is to state order by col_1, col_2,  sortPartition().sortPartition
 () does not solve this SQL.

because orderby in sql is to sort the fisrt coulmn and the second column in
the sorted first column. but for flink the funtion totally sorts each
column.

Any suggestion?

Thanks,
phil

Mime
View raw message