feat: Hive: support SORT BY direction (#1873)

This commit is contained in:
Chen Chongchen 2025-06-06 15:11:44 +08:00 committed by GitHub
parent 4cf5e571d3
commit e2b1ae36e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View file

@ -341,6 +341,9 @@ fn lateral_view() {
fn sort_by() {
let sort_by = "SELECT * FROM db.table SORT BY a";
hive().verified_stmt(sort_by);
let sort_by_with_direction = "SELECT * FROM db.table SORT BY a, b DESC";
hive().verified_stmt(sort_by_with_direction);
}
#[test]