diff --git a/rust/cubesql/cubesql/src/compile/engine/df/scan.rs b/rust/cubesql/cubesql/src/compile/engine/df/scan.rs index 27dd997793e27..63c7bc3e7a9d5 100644 --- a/rust/cubesql/cubesql/src/compile/engine/df/scan.rs +++ b/rust/cubesql/cubesql/src/compile/engine/df/scan.rs @@ -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 { diff --git a/rust/cubesql/cubesql/src/compile/mod.rs b/rust/cubesql/cubesql/src/compile/mod.rs index b0d27d43edf48..6f6ee121d3a14 100644 --- a/rust/cubesql/cubesql/src/compile/mod.rs +++ b/rust/cubesql/cubesql/src/compile/mod.rs @@ -77,12 +77,8 @@ mod tests { ]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -121,12 +117,8 @@ mod tests { "MultiTypeCube.dim_num1".to_string(), "MultiTypeCube.dim_num2".to_string(), ]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -160,12 +152,8 @@ mod tests { "MultiTypeCube.dim_str0".to_string(), "MultiTypeCube.dim_str1".to_string(), ]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -183,12 +171,8 @@ mod tests { measures: Some(vec!["NumberCube.someNumber".to_string(),]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -206,12 +190,8 @@ mod tests { measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -234,12 +214,8 @@ mod tests { ]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -266,12 +242,8 @@ mod tests { ]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -305,10 +277,7 @@ mod tests { measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("startsWith".to_string()), @@ -316,7 +285,7 @@ mod tests { or: None, and: None }]), - ungrouped: None, + ..Default::default() } ) } @@ -340,10 +309,7 @@ mod tests { measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("endsWith".to_string()), @@ -351,7 +317,7 @@ mod tests { or: None, and: None }]), - ungrouped: None, + ..Default::default() } ) } @@ -431,15 +397,11 @@ mod tests { measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.count".to_string(), "asc".to_string(), ]]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -461,15 +423,12 @@ mod tests { dimensions: Some(vec![ "KibanaSampleDataEcommerce.taxful_total_price".to_string(), ]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.taxful_total_price".to_string(), "asc".to_string(), ]]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ), ( @@ -481,15 +440,11 @@ mod tests { "KibanaSampleDataEcommerce.customer_gender".to_string(), "KibanaSampleDataEcommerce.order_date".to_string(), ]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.order_date".to_string(), "asc".to_string(), ]]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ), // test_order_indentifier_default @@ -501,15 +456,12 @@ mod tests { dimensions: Some(vec![ "KibanaSampleDataEcommerce.taxful_total_price".to_string(), ]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.taxful_total_price".to_string(), "asc".to_string(), ]]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ), // test_order_compound_identifier_default @@ -521,15 +473,12 @@ mod tests { dimensions: Some(vec![ "KibanaSampleDataEcommerce.taxful_total_price".to_string(), ]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.taxful_total_price".to_string(), "asc".to_string(), ]]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ), // test_order_indentifier_asc @@ -541,15 +490,12 @@ mod tests { dimensions: Some(vec![ "KibanaSampleDataEcommerce.taxful_total_price".to_string(), ]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.taxful_total_price".to_string(), "asc".to_string(), ]]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ), // test_order_indentifier_desc @@ -561,15 +507,12 @@ mod tests { dimensions: Some(vec![ "KibanaSampleDataEcommerce.taxful_total_price".to_string(), ]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.taxful_total_price".to_string(), "desc".to_string(), ]]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ), // test_order_identifer_alias_ident_no_escape @@ -581,15 +524,12 @@ mod tests { dimensions: Some(vec![ "KibanaSampleDataEcommerce.taxful_total_price".to_string(), ]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.taxful_total_price".to_string(), "desc".to_string(), ]]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ), // test_order_identifer_alias_ident_escape @@ -601,15 +541,12 @@ mod tests { dimensions: Some(vec![ "KibanaSampleDataEcommerce.taxful_total_price".to_string(), ]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.taxful_total_price".to_string(), "desc".to_string(), ]]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ), ]; @@ -654,10 +591,8 @@ mod tests { "KibanaSampleDataEcommerce.order_date".to_string(), "desc".to_string(), ]]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); @@ -682,10 +617,7 @@ mod tests { "KibanaSampleDataEcommerce.order_date".to_string(), "desc".to_string(), ]]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -760,12 +692,9 @@ mod tests { "KibanaSampleDataEcommerce.order_date".to_string(), "KibanaSampleDataEcommerce.customer_gender".to_string(), ]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -790,12 +719,9 @@ mod tests { "KibanaSampleDataEcommerce.order_date".to_string(), "KibanaSampleDataEcommerce.customer_gender".to_string(), ]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); @@ -848,12 +774,10 @@ mod tests { "KibanaSampleDataEcommerce.taxful_total_price".to_string(), "KibanaSampleDataEcommerce.has_subscription".to_string(), ]), - time_dimensions: None, order: Some(vec![]), limit: Some(0), - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); } @@ -906,12 +830,9 @@ mod tests { "KibanaSampleDataEcommerce.order_date".to_string(), "KibanaSampleDataEcommerce.taxful_total_price".to_string(), ]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); } @@ -935,12 +856,9 @@ mod tests { measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); } @@ -964,12 +882,9 @@ mod tests { measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); } @@ -992,10 +907,7 @@ mod tests { dimensions: Some(vec![ "KibanaSampleDataEcommerce.taxful_total_price".to_string() ]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("equals".to_string()), @@ -1003,7 +915,7 @@ mod tests { or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ); } @@ -1027,12 +939,8 @@ mod tests { measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -1062,12 +970,9 @@ mod tests { measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); } @@ -1097,12 +1002,9 @@ mod tests { measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); } @@ -1123,10 +1025,7 @@ mod tests { measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), segments: Some(vec!["KibanaSampleDataEcommerce.is_female".to_string()]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.count".to_string()), operator: Some("gt".to_string()), @@ -1134,7 +1033,7 @@ mod tests { or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ); @@ -1150,10 +1049,7 @@ mod tests { measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![ V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.has_subscription".to_string()), @@ -1170,7 +1066,7 @@ mod tests { and: None, } ]), - ungrouped: None, + ..Default::default() } ); } @@ -1193,10 +1089,7 @@ mod tests { dimensions: Some(vec![ "KibanaSampleDataEcommerce.taxful_total_price".to_string() ]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.taxful_total_price".to_string()), operator: Some("set".to_string()), @@ -1204,7 +1097,7 @@ mod tests { or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ); } @@ -1253,10 +1146,7 @@ mod tests { ])) }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -1297,10 +1187,7 @@ ORDER BY \"COUNT(count)\" DESC" "KibanaSampleDataEcommerce.count".to_string(), "desc".to_string() ]]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -1341,8 +1228,6 @@ ORDER BY \"COUNT(count)\" DESC" "KibanaSampleDataEcommerce.count".to_string(), "desc".to_string() ]]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("equals".to_string()), @@ -1350,7 +1235,7 @@ ORDER BY \"COUNT(count)\" DESC" or: None, and: None }]), - ungrouped: None, + ..Default::default() } ); } @@ -1392,7 +1277,6 @@ ORDER BY \"COUNT(count)\" DESC LIMIT 10000" "desc".to_string() ]]), limit: Some(10000), - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.notes".to_string()), operator: Some("equals".to_string()), @@ -1406,7 +1290,7 @@ ORDER BY \"COUNT(count)\" DESC LIMIT 10000" or: None, and: None }]), - ungrouped: None, + ..Default::default() } ); } @@ -1451,8 +1335,6 @@ ORDER BY \"COUNT(count)\" DESC" "KibanaSampleDataEcommerce.count".to_string(), "desc".to_string() ]]), - limit: None, - offset: None, filters: Some(vec![ V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), @@ -1483,7 +1365,7 @@ ORDER BY \"COUNT(count)\" DESC" and: None } ]), - ungrouped: None, + ..Default::default() } ); } @@ -1504,15 +1386,12 @@ ORDER BY \"COUNT(count)\" DESC" measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.customer_gender".to_string(), "asc".to_string(), ],],), limit: Some(1001), - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -1533,10 +1412,7 @@ ORDER BY \"COUNT(count)\" DESC" measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: None, operator: None, @@ -1578,7 +1454,7 @@ ORDER BY \"COUNT(count)\" DESC" ]), and: None, },]), - ungrouped: None, + ..Default::default() } ); } @@ -1620,10 +1496,7 @@ ORDER BY \"COUNT(count)\" DESC" measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.count".to_string()), operator: Some("gt".to_string()), @@ -1631,7 +1504,7 @@ ORDER BY \"COUNT(count)\" DESC" or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ); @@ -1674,10 +1547,7 @@ ORDER BY \"COUNT(count)\" DESC" date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -1698,12 +1568,8 @@ ORDER BY \"COUNT(count)\" DESC" measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -1730,10 +1596,7 @@ ORDER BY \"COUNT(count)\" DESC" date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -1755,10 +1618,7 @@ ORDER BY \"COUNT(count)\" DESC" date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -1785,10 +1645,7 @@ ORDER BY \"COUNT(count)\" DESC" date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -1809,10 +1666,7 @@ ORDER BY \"COUNT(count)\" DESC" measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("equals".to_string()), @@ -1820,7 +1674,7 @@ ORDER BY \"COUNT(count)\" DESC" or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ); } @@ -1841,10 +1695,7 @@ ORDER BY \"COUNT(count)\" DESC" measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("contains".to_string()), @@ -1852,7 +1703,7 @@ ORDER BY \"COUNT(count)\" DESC" or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ); } @@ -1873,10 +1724,7 @@ ORDER BY \"COUNT(count)\" DESC" measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.count".to_string()), operator: Some("gt".to_string()), @@ -1884,7 +1732,7 @@ ORDER BY \"COUNT(count)\" DESC" or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ); } @@ -1919,12 +1767,8 @@ GROUP BY measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.order_date".to_string()]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -1978,10 +1822,8 @@ GROUP BY measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(1000001), - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("contains".to_string()), @@ -1989,7 +1831,7 @@ GROUP BY or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ); } @@ -2040,10 +1882,7 @@ GROUP BY }, ]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -2095,9 +1934,7 @@ GROUP BY }]), order: Some(vec![]), limit: Some(1000001), - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -2203,10 +2040,8 @@ limit ]), dimensions: Some(vec!["WideCube.dim1".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(1000001), - offset: None, filters: Some(vec![ V1LoadRequestQueryFilterItem { member: Some("WideCube.dim1".to_string()), @@ -2252,7 +2087,7 @@ limit and: None, }, ]), - ungrouped: None, + ..Default::default() } ); } @@ -2400,10 +2235,7 @@ limit } ]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -2444,12 +2276,9 @@ from measures: Some(vec![]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); } @@ -2497,12 +2326,9 @@ from measures: Some(vec![]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); } @@ -2577,10 +2403,8 @@ from measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(1000001), - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.count".to_string()), operator: Some("set".to_string()), @@ -2588,7 +2412,7 @@ from or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ); } @@ -2658,7 +2482,6 @@ limit }]), order: Some(vec![]), limit: Some(1000001), - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.sumPrice".to_string()), operator: Some("set".to_string()), @@ -2666,7 +2489,7 @@ limit or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ); } @@ -2723,12 +2546,9 @@ limit measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(1000001), - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -2819,12 +2639,8 @@ limit measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }, ), ( @@ -2833,12 +2649,8 @@ limit measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }, ), ( @@ -2847,12 +2659,8 @@ limit measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }, ), ( @@ -2861,12 +2669,8 @@ limit measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }, ), ( @@ -2875,12 +2679,8 @@ limit measures: Some(vec!["Logs.agentCount".to_string()]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }, ), ( @@ -2889,12 +2689,8 @@ limit measures: Some(vec!["Logs.agentCountApprox".to_string()]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }, ), ( @@ -2903,12 +2699,8 @@ limit measures: Some(vec!["KibanaSampleDataEcommerce.maxPrice".to_string()]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }, ), ]; @@ -2943,12 +2735,8 @@ limit measures: Some(vec!["StringCube.someString".to_string(),]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -2981,12 +2769,9 @@ limit measures: Some(vec![]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); @@ -3092,10 +2877,7 @@ limit date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -3146,10 +2928,7 @@ limit date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -4687,12 +4466,10 @@ limit measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), - time_dimensions: None, order: Some(vec![]), limit: Some(1000), - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); assert_eq!( @@ -4720,10 +4497,8 @@ limit measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), - time_dimensions: None, order: Some(vec![]), limit: Some(1000), - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("equals".to_string()), @@ -4732,6 +4507,7 @@ limit and: None, }]), ungrouped: Some(true), + ..Default::default() } ); @@ -4763,12 +4539,10 @@ limit measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), - time_dimensions: None, order: Some(vec![]), limit: Some(1000), - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); @@ -4794,12 +4568,10 @@ limit measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), - time_dimensions: None, order: Some(vec![]), limit: Some(1000), - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); @@ -4840,12 +4612,9 @@ limit measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), - time_dimensions: None, order: Some(vec![]), limit: Some(1000), - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -4909,12 +4678,8 @@ ORDER BY "ca_4" ASC ]), segments: Some(vec![]), dimensions: Some(vec!["Logs.read".to_string()]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -4975,10 +4740,7 @@ ORDER BY date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -5014,10 +4776,7 @@ ORDER BY date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -5048,12 +4807,9 @@ ORDER BY measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); @@ -5099,10 +4855,7 @@ ORDER BY date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -5140,10 +4893,7 @@ ORDER BY date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -5185,12 +4935,9 @@ ORDER BY measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), - time_dimensions: None, order: Some(vec![]), limit: Some(1000), - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -6484,12 +6231,9 @@ ORDER BY measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); @@ -6527,10 +6271,8 @@ ORDER BY date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); @@ -6597,10 +6339,7 @@ ORDER BY date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -6637,12 +6376,9 @@ ORDER BY dimensions: Some(vec![ "KibanaSampleDataEcommerce.taxful_total_price".to_string() ]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); } @@ -6689,10 +6425,7 @@ ORDER BY date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }; context @@ -6798,10 +6531,7 @@ ORDER BY date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -7031,9 +6761,7 @@ ORDER BY "desc".to_string() ]]), limit: Some(2500), - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -7075,12 +6803,8 @@ ORDER BY ]), segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.order_date".to_string()]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -7194,10 +6918,7 @@ ORDER BY measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.maxPrice".to_string()), operator: Some("equals".to_string()), @@ -7206,6 +6927,7 @@ ORDER BY and: None, }]), ungrouped: Some(true), + ..Default::default() } ); @@ -7290,10 +7012,7 @@ ORDER BY measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![ V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.maxPrice".to_string()), @@ -7311,6 +7030,7 @@ ORDER BY } ]), ungrouped: Some(true), + ..Default::default() } ); @@ -7345,10 +7065,7 @@ ORDER BY measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.order_date".to_string()), operator: Some("afterOrOnDate".to_string()), @@ -7356,7 +7073,7 @@ ORDER BY or: None, and: None, },]), - ungrouped: None, + ..Default::default() } ) } @@ -7406,9 +7123,8 @@ ORDER BY "desc".to_string(), ]]), limit: Some(10000), - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -7429,10 +7145,8 @@ ORDER BY measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(1000), - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("contains".to_string()), @@ -7440,7 +7154,7 @@ ORDER BY or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ) } @@ -7463,12 +7177,10 @@ ORDER BY measures: Some(vec![]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(0), - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -7546,10 +7258,7 @@ ORDER BY "WideCube.dim4".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("WideCube.dim1".to_string()), operator: Some("equals".to_string()), @@ -7558,6 +7267,7 @@ ORDER BY and: None, }]), ungrouped: Some(true), + ..Default::default() } ); assert!(!query_plan @@ -7615,12 +7325,9 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); assert!(!query_plan @@ -7653,10 +7360,7 @@ ORDER BY "source"."str0" ASC date_range: None }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -7730,10 +7434,8 @@ ORDER BY "source"."str0" ASC date_range: Some(json!(vec![from, to])), }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); } @@ -7768,10 +7470,8 @@ ORDER BY "source"."str0" ASC ])) }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); @@ -7830,10 +7530,8 @@ ORDER BY "source"."str0" ASC date_range: Some(json!(vec![from, to])), }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); } @@ -7868,10 +7566,7 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.order_date".to_string(), "asc".to_string(), ]]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -7896,12 +7591,8 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.taxful_total_price".to_string() ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -7930,10 +7621,8 @@ ORDER BY "source"."str0" ASC measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(10), - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("contains".to_string()), @@ -7942,6 +7631,7 @@ ORDER BY "source"."str0" ASC and: None, },]), ungrouped: Some(true), + ..Default::default() } ); @@ -7962,10 +7652,8 @@ ORDER BY "source"."str0" ASC measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(10), - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: None, operator: None, @@ -7989,6 +7677,7 @@ ORDER BY "source"."str0" ASC and: None, },]), ungrouped: Some(true), + ..Default::default() } ); } @@ -8017,10 +7706,8 @@ ORDER BY "source"."str0" ASC measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(10), - offset: None, filters: Some(vec![ V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.taxful_total_price".to_string()), @@ -8038,6 +7725,7 @@ ORDER BY "source"."str0" ASC } ]), ungrouped: Some(true), + ..Default::default() } ); @@ -8058,10 +7746,8 @@ ORDER BY "source"."str0" ASC measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(10), - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: None, operator: None, @@ -8089,6 +7775,7 @@ ORDER BY "source"."str0" ASC and: None, },]), ungrouped: Some(true), + ..Default::default() } ); } @@ -8121,10 +7808,7 @@ ORDER BY "source"."str0" ASC date_range: None, },]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -8218,10 +7902,7 @@ ORDER BY "source"."str0" ASC date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -8257,12 +7938,9 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -8305,10 +7983,7 @@ ORDER BY "source"."str0" ASC ])), }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -8345,8 +8020,6 @@ ORDER BY "source"."str0" ASC date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("startsWith".to_string()), @@ -8354,7 +8027,7 @@ ORDER BY "source"."str0" ASC or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ) } @@ -8400,10 +8073,7 @@ ORDER BY "source"."str0" ASC date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -8427,12 +8097,9 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -8462,12 +8129,10 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(10000), - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -8511,12 +8176,9 @@ ORDER BY "source"."str0" ASC "Logs.content".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -8670,12 +8332,9 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.order_date".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(50000), - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -8691,12 +8350,10 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.order_date".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(200), offset: Some(200), - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -8761,10 +8418,7 @@ ORDER BY "source"."str0" ASC date_range: None }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -8805,12 +8459,8 @@ ORDER BY "source"."str0" ASC ]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -8845,10 +8495,7 @@ ORDER BY "source"."str0" ASC date_range: None }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -8877,13 +8524,11 @@ ORDER BY "source"."str0" ASC measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.count".to_string(), "desc".to_string() ]]), limit: Some(100000), - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("notContains".to_string()), @@ -8891,7 +8536,7 @@ ORDER BY "source"."str0" ASC or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ); } @@ -8951,12 +8596,8 @@ ORDER BY "source"."str0" ASC measures: Some(vec!["KibanaSampleDataEcommerce.maxPrice".to_string()]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }), true ); @@ -8970,12 +8611,8 @@ ORDER BY "source"."str0" ASC ]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }), true ); @@ -9033,12 +8670,8 @@ ORDER BY "source"."str0" ASC measures: Some(vec!["KibanaSampleDataEcommerce.maxPrice".to_string()]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }), true ); @@ -9057,10 +8690,7 @@ ORDER BY "source"."str0" ASC date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }), true ); @@ -9089,13 +8719,11 @@ ORDER BY "source"."str0" ASC measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.count".to_string(), "desc".to_string() ]]), limit: Some(100000), - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.order_date".to_string()), operator: Some("equals".to_string()), @@ -9106,7 +8734,7 @@ ORDER BY "source"."str0" ASC or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ); } @@ -9169,9 +8797,7 @@ ORDER BY "source"."str0" ASC "desc".to_string() ]]), limit: Some(2500), - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -9256,9 +8882,7 @@ ORDER BY "source"."str0" ASC "desc".to_string() ]]), limit: Some(2500), - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -9290,10 +8914,7 @@ ORDER BY "source"."str0" ASC measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("startsWith".to_string()), @@ -9301,7 +8922,7 @@ ORDER BY "source"."str0" ASC or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ) } @@ -9332,10 +8953,7 @@ ORDER BY "source"."str0" ASC measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("endsWith".to_string()), @@ -9343,7 +8961,7 @@ ORDER BY "source"."str0" ASC or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ) } @@ -9378,10 +8996,7 @@ ORDER BY "source"."str0" ASC measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("contains".to_string()), @@ -9389,7 +9004,7 @@ ORDER BY "source"."str0" ASC or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ) } @@ -9425,10 +9040,7 @@ ORDER BY "source"."str0" ASC measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![ V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), @@ -9445,7 +9057,7 @@ ORDER BY "source"."str0" ASC and: None, }, ]), - ungrouped: None, + ..Default::default() } ) } @@ -9479,10 +9091,7 @@ ORDER BY "source"."str0" ASC ]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.maxPrice".to_string()), operator: Some("startsWith".to_string()), @@ -9490,7 +9099,7 @@ ORDER BY "source"."str0" ASC or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ) } @@ -9524,10 +9133,7 @@ ORDER BY "source"."str0" ASC ]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.maxPrice".to_string()), operator: Some("endsWith".to_string()), @@ -9535,7 +9141,7 @@ ORDER BY "source"."str0" ASC or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ) } @@ -9573,10 +9179,7 @@ ORDER BY "source"."str0" ASC ]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.maxPrice".to_string()), operator: Some("contains".to_string()), @@ -9584,7 +9187,7 @@ ORDER BY "source"."str0" ASC or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ) } @@ -9623,10 +9226,7 @@ ORDER BY "source"."str0" ASC ]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![ V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.maxPrice".to_string()), @@ -9643,7 +9243,7 @@ ORDER BY "source"."str0" ASC and: None, }, ]), - ungrouped: None, + ..Default::default() } ) } @@ -9682,10 +9282,7 @@ ORDER BY "source"."str0" ASC ])), },]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -9731,9 +9328,7 @@ ORDER BY "source"."str0" ASC "desc".to_string() ]]), limit: Some(2500), - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -9789,9 +9384,7 @@ ORDER BY "source"."str0" ASC "desc".to_string() ]]), limit: Some(2500), - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -9822,12 +9415,9 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.customer_gender".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -9856,12 +9446,8 @@ ORDER BY "source"."str0" ASC measures: Some(vec!["KibanaSampleDataEcommerce.sumPrice".to_string()]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -9883,10 +9469,7 @@ ORDER BY "source"."str0" ASC measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("equals".to_string()), @@ -9894,7 +9477,7 @@ ORDER BY "source"."str0" ASC or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ); } @@ -9923,12 +9506,8 @@ ORDER BY "source"."str0" ASC measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -9996,12 +9575,9 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.taxful_total_price".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() }, ); } @@ -10036,12 +9612,9 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); @@ -10071,12 +9644,9 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); @@ -10191,12 +9761,9 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.customer_gender".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -10240,10 +9807,8 @@ ORDER BY "source"."str0" ASC date_range: None }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -10275,10 +9840,7 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: None, operator: None, @@ -10302,6 +9864,7 @@ ORDER BY "source"."str0" ASC and: None, }]), ungrouped: Some(true), + ..Default::default() } ); @@ -10335,10 +9898,7 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: None, operator: None, @@ -10362,6 +9922,7 @@ ORDER BY "source"."str0" ASC and: None, }]), ungrouped: Some(true), + ..Default::default() } ); @@ -10395,10 +9956,7 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: None, operator: None, @@ -10422,6 +9980,7 @@ ORDER BY "source"."str0" ASC and: None, }]), ungrouped: Some(true), + ..Default::default() } ); @@ -10455,10 +10014,7 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: None, operator: None, @@ -10482,6 +10038,7 @@ ORDER BY "source"."str0" ASC and: None, }]), ungrouped: Some(true), + ..Default::default() } ); @@ -10515,10 +10072,7 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: None, operator: None, @@ -10542,6 +10096,7 @@ ORDER BY "source"."str0" ASC and: None, }]), ungrouped: Some(true), + ..Default::default() } ); @@ -10575,10 +10130,7 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: None, operator: None, @@ -10602,6 +10154,7 @@ ORDER BY "source"."str0" ASC and: None, }]), ungrouped: Some(true), + ..Default::default() } ); @@ -10657,10 +10210,7 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.taxful_total_price".to_string() ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: None, operator: None, @@ -10705,6 +10255,7 @@ ORDER BY "source"."str0" ASC and: None, }]), ungrouped: Some(true), + ..Default::default() } ) } @@ -10739,10 +10290,7 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.taxful_total_price".to_string() ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: None, operator: None, @@ -10770,6 +10318,7 @@ ORDER BY "source"."str0" ASC and: None, }]), ungrouped: Some(true), + ..Default::default() } ) } @@ -10828,10 +10377,8 @@ ORDER BY "source"."str0" ASC .collect::>() ), order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -10870,10 +10417,7 @@ ORDER BY "source"."str0" ASC .collect::>() ), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -10908,12 +10452,9 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -10950,12 +10491,10 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.order_date".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(10001), - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -10999,15 +10538,12 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.customer_gender".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.customer_gender".to_string(), "asc".to_string(), ]]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -11061,8 +10597,6 @@ ORDER BY "source"."str0" ASC ])) }]), order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.order_date".to_string()), operator: Some("set".to_string()), @@ -11070,7 +10604,7 @@ ORDER BY "source"."str0" ASC or: None, and: None },]), - ungrouped: None, + ..Default::default() } ) } @@ -11117,10 +10651,7 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.order_date".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.order_date".to_string()), operator: Some("set".to_string()), @@ -11128,7 +10659,7 @@ ORDER BY "source"."str0" ASC or: None, and: None },]), - ungrouped: None, + ..Default::default() } ) } @@ -11164,10 +10695,8 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.order_date".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(10001), - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.order_date".to_string()), operator: Some("equals".to_string()), @@ -11178,7 +10707,7 @@ ORDER BY "source"."str0" ASC or: None, and: None },]), - ungrouped: None, + ..Default::default() } ) } @@ -11207,12 +10736,9 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -11241,12 +10767,9 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -11288,13 +10811,11 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.customer_gender".to_string(), "asc".to_string(), ]]), limit: Some(1000), - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("contains".to_string()), @@ -11302,7 +10823,7 @@ ORDER BY "source"."str0" ASC or: None, and: None }]), - ungrouped: None, + ..Default::default() } ); @@ -11339,13 +10860,11 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.customer_gender".to_string(), "asc".to_string(), ]]), limit: Some(1000), - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("notStartsWith".to_string()), @@ -11353,7 +10872,7 @@ ORDER BY "source"."str0" ASC or: None, and: None }]), - ungrouped: None, + ..Default::default() } ); @@ -11390,13 +10909,11 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.customer_gender".to_string(), "asc".to_string(), ]]), limit: Some(1000), - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("notEndsWith".to_string()), @@ -11404,7 +10921,7 @@ ORDER BY "source"."str0" ASC or: None, and: None }]), - ungrouped: None, + ..Default::default() } ) } @@ -11505,12 +11022,9 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -11546,12 +11060,9 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.customer_gender".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -11586,12 +11097,8 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.customer_gender".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -11631,12 +11138,9 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.notes".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -11675,12 +11179,8 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.notes".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -11715,12 +11215,8 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.notes".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -11756,12 +11252,8 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.notes".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -11833,10 +11325,7 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.count".to_string()), operator: Some("lt".to_string()), @@ -11844,7 +11333,7 @@ ORDER BY "source"."str0" ASC or: None, and: None }]), - ungrouped: None, + ..Default::default() } ) } @@ -11880,12 +11369,9 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -11917,12 +11403,8 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -11956,10 +11438,7 @@ ORDER BY "source"."str0" ASC date_range: None }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -12000,10 +11479,7 @@ ORDER BY "source"."str0" ASC date_range: None }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -12044,10 +11520,7 @@ ORDER BY "source"."str0" ASC }, ]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -12078,12 +11551,8 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -12112,12 +11581,8 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.notes".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -12180,12 +11645,8 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.taxful_total_price".to_string() ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -12222,10 +11683,7 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.order_date".to_string(), "asc".to_string() ]]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); @@ -12257,10 +11715,7 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.order_date".to_string(), "asc".to_string() ]]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -12301,10 +11756,7 @@ ORDER BY "source"."str0" ASC date_range: None }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -12342,12 +11794,9 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); @@ -12377,12 +11826,9 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -12430,10 +11876,7 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.order_date".to_string(),), operator: Some("beforeDate".to_string(),), @@ -12442,6 +11885,7 @@ ORDER BY "source"."str0" ASC and: None, }]), ungrouped: Some(true), + ..Default::default() } ) } @@ -12475,12 +11919,9 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -12521,10 +11962,7 @@ ORDER BY "source"."str0" ASC date_range: None }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -12565,12 +12003,8 @@ ORDER BY "source"."str0" ASC "Logs.id".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -12607,12 +12041,9 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -12649,10 +12080,7 @@ ORDER BY "source"."str0" ASC date_range: None }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -12694,10 +12122,7 @@ ORDER BY "source"."str0" ASC date_range: None }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -12821,12 +12246,8 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -12862,12 +12283,8 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.taxful_total_price".to_string() ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -12908,12 +12325,9 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); } @@ -12993,10 +12407,7 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.order_date".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.order_date".to_string()), operator: Some(filter_operator.to_string()), @@ -13005,6 +12416,7 @@ ORDER BY "source"."str0" ASC and: None }]), ungrouped: Some(true), + ..Default::default() } ); } @@ -13042,10 +12454,7 @@ ORDER BY "source"."str0" ASC date_range: None }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -13081,12 +12490,9 @@ ORDER BY "source"."str0" ASC ]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -13124,10 +12530,8 @@ ORDER BY "source"."str0" ASC date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -13162,10 +12566,7 @@ ORDER BY "source"."str0" ASC date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -13232,10 +12633,8 @@ ORDER BY "source"."str0" ASC // before TableScan is a post-processing projection. // Splitting such projections into two may be a good idea. order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() })) } @@ -13287,8 +12686,6 @@ ORDER BY "source"."str0" ASC ])) }]), order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: None, operator: None, @@ -13319,6 +12716,7 @@ ORDER BY "source"."str0" ASC and: None }]), ungrouped: Some(true), + ..Default::default() } ) } @@ -13356,10 +12754,7 @@ ORDER BY "source"."str0" ASC ])) }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -13427,12 +12822,8 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec!["MultiTypeCube.dim_date0".to_string()]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }; context @@ -13514,10 +12905,7 @@ ORDER BY "source"."str0" ASC date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }; context @@ -13563,10 +12951,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec!["MultiTypeCube.dim_date0".to_string()]), time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }; context @@ -13647,10 +13032,7 @@ ORDER BY "source"."str0" ASC date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }; context @@ -13695,12 +13077,8 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec!["MultiTypeCube.dim_str0".to_string()]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }; context @@ -13808,12 +13186,8 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), segments: Some(vec![]), dimensions: Some(vec!["MultiTypeCube.dim_str0".to_string()]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }; assert_eq!( @@ -14139,9 +13513,7 @@ ORDER BY "source"."str0" ASC }]), order: Some(vec![]), limit: Some(1000), - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -14176,10 +13548,7 @@ ORDER BY "source"."str0" ASC date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -14217,10 +13586,7 @@ ORDER BY "source"."str0" ASC date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -14288,10 +13654,7 @@ ORDER BY "source"."str0" ASC } ]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -14329,10 +13692,7 @@ ORDER BY "source"."str0" ASC date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -14393,12 +13753,8 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.customer_gender".to_string() ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -14435,10 +13791,8 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.customer_gender".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(25000), - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.order_date".to_string()), operator: Some("afterOrOnDate".to_string()), @@ -14446,7 +13800,7 @@ ORDER BY "source"."str0" ASC or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ) } @@ -14493,9 +13847,7 @@ ORDER BY "source"."str0" ASC }]), order: Some(vec![]), limit: Some(25000), - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -14532,10 +13884,8 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.customer_gender".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(25000), - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: None, operator: None, @@ -14558,7 +13908,7 @@ ORDER BY "source"."str0" ASC ]), and: None, }]), - ungrouped: None, + ..Default::default() } ) } @@ -14611,9 +13961,7 @@ ORDER BY "source"."str0" ASC "asc".to_string(), ]]), limit: Some(25000), - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -14677,10 +14025,7 @@ ORDER BY "source"."str0" ASC date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -14777,12 +14122,8 @@ ORDER BY "source"."str0" ASC measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.order_date".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -14907,12 +14248,8 @@ ORDER BY "source"."str0" ASC "KibanaSampleDataEcommerce.taxful_total_price".to_string() ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -15370,10 +14707,7 @@ ORDER BY "source"."str0" ASC date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -15568,10 +14902,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), "KibanaSampleDataEcommerce.customer_gender".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.notes".to_string()), operator: Some("equals".to_string()), @@ -15579,7 +14910,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), or: None, and: None }]), - ungrouped: None, + ..Default::default() } ) } @@ -15670,10 +15001,8 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), }, ]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -15752,15 +15081,11 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), measures: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.customer_gender".to_string(), "asc".to_string(), ]]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -15826,10 +15151,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), measures: Some(vec!["NumberCube.someNumber".into()]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("NumberCube.someNumber".into()), operator: Some("equals".into()), @@ -15838,6 +15160,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), and: None }]), ungrouped: Some(true), + ..Default::default() } ); } @@ -15875,8 +15198,6 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), date_range: None }]), order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: None, operator: None, @@ -15905,7 +15226,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), ]), and: None }]), - ungrouped: None, + ..Default::default() } ) } @@ -15953,10 +15274,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), ])), }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -16001,8 +15319,6 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), date_range: None }]), order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: None, operator: None, @@ -16061,7 +15377,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), ]), and: None }]), - ungrouped: None, + ..Default::default() } ) } @@ -16205,10 +15521,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), }, ]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -16259,10 +15572,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), ])), },]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -16300,12 +15610,9 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), "KibanaSampleDataEcommerce.has_subscription".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(500), - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -16393,12 +15700,9 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), "KibanaSampleDataEcommerce.customer_gender".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -16436,12 +15740,8 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), "KibanaSampleDataEcommerce.customer_gender".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -16489,8 +15789,6 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), ])) }]), order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![ V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), @@ -16511,7 +15809,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), and: None }, ]), - ungrouped: None, + ..Default::default() } ) } @@ -16583,10 +15881,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), } }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -16747,8 +16042,6 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), ])) }]), order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.sumPrice".to_string()), operator: Some("gte".to_string()), @@ -16756,7 +16049,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), or: None, and: None }]), - ungrouped: None, + ..Default::default() } ) } diff --git a/rust/cubesql/cubesql/src/compile/test/test_bi_workarounds.rs b/rust/cubesql/cubesql/src/compile/test/test_bi_workarounds.rs index 3d15c92450e78..54778e4188c71 100644 --- a/rust/cubesql/cubesql/src/compile/test/test_bi_workarounds.rs +++ b/rust/cubesql/cubesql/src/compile/test/test_bi_workarounds.rs @@ -45,12 +45,9 @@ async fn test_powerbi_count_distinct_with_max_case() { measures: Some(vec!["KibanaSampleDataEcommerce.countDistinct".to_string()]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), limit: Some(1000001), - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } diff --git a/rust/cubesql/cubesql/src/compile/test/test_cube_join.rs b/rust/cubesql/cubesql/src/compile/test/test_cube_join.rs index c9a63a8754570..7294609b48e68 100644 --- a/rust/cubesql/cubesql/src/compile/test/test_cube_join.rs +++ b/rust/cubesql/cubesql/src/compile/test/test_cube_join.rs @@ -45,12 +45,8 @@ async fn powerbi_join() { measures: Some(vec!["Logs.agentCount".to_string()]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -119,12 +115,8 @@ async fn powerbi_transitive_join() { measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), dimensions: Some(vec!["Logs.content".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ); } @@ -175,12 +167,9 @@ async fn test_join_three_cubes() { "Logs.content".to_string(), ]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ) } @@ -219,8 +208,6 @@ async fn test_join_three_cubes_split() { date_range: None }]), order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("Logs.read".to_string()), operator: Some("equals".to_string()), @@ -228,7 +215,7 @@ async fn test_join_three_cubes_split() { or: None, and: None }]), - ungrouped: None, + ..Default::default() } ) } @@ -257,13 +244,10 @@ async fn test_join_two_subqueries_with_filter_order_limit() { measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), dimensions: Some(vec!["Logs.read".to_string(),]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.customer_gender".to_string(), "asc".to_string(), ]]), - limit: None, - offset: None, filters: Some(vec![ V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), @@ -280,7 +264,7 @@ async fn test_join_two_subqueries_with_filter_order_limit() { and: None } ]), - ungrouped: None, + ..Default::default() } ) } @@ -319,8 +303,6 @@ async fn test_join_three_subqueries_with_filter_order_limit_and_split() { "KibanaSampleDataEcommerce.customer_gender".to_string(), "asc".to_string(), ]]), - limit: None, - offset: None, filters: Some(vec![ V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), @@ -337,7 +319,7 @@ async fn test_join_three_subqueries_with_filter_order_limit_and_split() { and: None } ]), - ungrouped: None, + ..Default::default() } ) } @@ -366,13 +348,10 @@ async fn test_join_subquery_and_table_with_filter_order_limit() { measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), dimensions: Some(vec!["Logs.read".to_string(),]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![vec![ "KibanaSampleDataEcommerce.customer_gender".to_string(), "asc".to_string(), ]]), - limit: None, - offset: None, filters: Some(vec![ V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), @@ -389,7 +368,7 @@ async fn test_join_subquery_and_table_with_filter_order_limit() { and: None } ]), - ungrouped: None, + ..Default::default() } ) } @@ -428,8 +407,6 @@ async fn test_join_two_subqueries_and_table_with_filter_order_limit_and_split() "KibanaSampleDataEcommerce.customer_gender".to_string(), "asc".to_string(), ]]), - limit: None, - offset: None, filters: Some(vec![ V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), @@ -446,7 +423,7 @@ async fn test_join_two_subqueries_and_table_with_filter_order_limit_and_split() and: None } ]), - ungrouped: None, + ..Default::default() } ) } @@ -491,8 +468,6 @@ async fn test_join_two_subqueries_filter_push_down() { "KibanaSampleDataEcommerce.count".to_string(), "asc".to_string(), ]]), - limit: None, - offset: None, filters: Some(vec![ V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), @@ -509,7 +484,7 @@ async fn test_join_two_subqueries_filter_push_down() { and: None } ]), - ungrouped: None, + ..Default::default() } ) } @@ -628,10 +603,7 @@ async fn test_join_cubes_with_postprocessing() { date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }), true ); @@ -641,12 +613,9 @@ async fn test_join_cubes_with_postprocessing() { measures: Some(vec![]), dimensions: Some(vec!["Logs.read".to_string()]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() }), true ) @@ -690,10 +659,7 @@ async fn test_join_cubes_with_postprocessing_and_no_cubejoinfield() { date_range: None, }]), order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }), true ); @@ -703,12 +669,9 @@ async fn test_join_cubes_with_postprocessing_and_no_cubejoinfield() { measures: Some(vec![]), dimensions: Some(vec!["Logs.id".to_string(), "Logs.read".to_string(),]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() }), true ) diff --git a/rust/cubesql/cubesql/src/compile/test/test_user_change.rs b/rust/cubesql/cubesql/src/compile/test/test_user_change.rs index 9c475ec4961f9..47f0164a5fba3 100644 --- a/rust/cubesql/cubesql/src/compile/test/test_user_change.rs +++ b/rust/cubesql/cubesql/src/compile/test/test_user_change.rs @@ -32,12 +32,8 @@ async fn test_change_user_via_filter() { measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -63,12 +59,8 @@ async fn test_change_user_via_in_filter() { measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -87,12 +79,8 @@ async fn test_change_user_via_in_filter_thoughtspot() { measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() }; let cube_scan = query_plan.as_logical_plan().find_cube_scan(); @@ -130,12 +118,8 @@ async fn test_change_user_via_filter_powerbi() { measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) } @@ -158,10 +142,7 @@ async fn test_change_user_via_filter_and() { measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { member: Some("KibanaSampleDataEcommerce.customer_gender".to_string()), operator: Some("equals".to_string()), @@ -169,7 +150,7 @@ async fn test_change_user_via_filter_and() { or: None, and: None, }]), - ungrouped: None, + ..Default::default() } ) } @@ -210,12 +191,9 @@ async fn test_user_with_join() { measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string()]), dimensions: Some(vec![]), segments: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, ungrouped: Some(true), + ..Default::default() } ); @@ -253,12 +231,8 @@ async fn test_change_user_via_filter_with_alias() { measures: Some(vec!["KibanaSampleDataEcommerce.count".to_string(),]), segments: Some(vec![]), dimensions: Some(vec![]), - time_dimensions: None, order: Some(vec![]), - limit: None, - offset: None, - filters: None, - ungrouped: None, + ..Default::default() } ) }