Skip to content

Commit

Permalink
fix: RowHL::get_not_null_by_index order follows table definition
Browse files Browse the repository at this point in the history
  • Loading branch information
laysakura committed May 11, 2022
1 parent b93dd69 commit 8d6f620
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions springql-core/tests/feat_projection.rs
Expand Up @@ -96,9 +96,9 @@ fn test_select_list_order_with_aggr() {
test_source.start(ForeignSourceInput::new_fifo_batch(source_input));

let row = pipeline.pop(QUEUE_NAME).unwrap();
assert_eq!(row.get_not_null_by_index::<i32>(0).unwrap(), 20);
assert_eq!(
row.get_not_null_by_index::<String>(1).unwrap(),
row.get_not_null_by_index::<String>(0).unwrap(),
"2020-01-01 00:00:00.000000000"
);
assert_eq!(row.get_not_null_by_index::<i32>(1).unwrap(), 20);
}

0 comments on commit 8d6f620

Please sign in to comment.