Skip to content

Commit

Permalink
refactor(cubesql): Use Default struct update for V1LoadRequestQuery i…
Browse files Browse the repository at this point in the history
…n tests (#8836)

* refactor(cubesql): Use Default struct update for V1LoadRequestQuery in scan tests

* refactor(cubesql): Use Default struct update for V1LoadRequestQuery in test_bi_workarounds

* refactor(cubesql): Use Default struct update for V1LoadRequestQuery in test_cube_join

* refactor(cubesql): Use Default struct update for V1LoadRequestQuery in test_user_change

* refactor(cubesql): Use Default struct update for V1LoadRequestQuery in bulk of rewrite tests
  • Loading branch information
mcheshkov authored Oct 21, 2024
1 parent b27f83a commit d5df5c0
Show file tree
Hide file tree
Showing 5 changed files with 268 additions and 1,047 deletions.
8 changes: 1 addition & 7 deletions rust/cubesql/cubesql/src/compile/engine/df/scan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1505,13 +1505,7 @@ mod tests {
"KibanaSampleDataEcommerce.orderDate".to_string(),
"KibanaSampleDataEcommerce.city".to_string(),
]),
segments: None,
time_dimensions: None,
order: None,
limit: None,
offset: None,
filters: None,
ungrouped: None,
..Default::default()
},
wrapped_sql: None,
auth_context: Arc::new(HttpAuthContext {
Expand Down
Loading

0 comments on commit d5df5c0

Please sign in to comment.