File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -13951,7 +13951,7 @@ impl<'a> Parser<'a> {
13951
13951
"DIMENSIONS clause can only be specified once".to_string(),
13952
13952
));
13953
13953
}
13954
- dimensions = self.parse_comma_separated(Parser::parse_expr )?;
13954
+ dimensions = self.parse_comma_separated(Parser::parse_wildcard_expr )?;
13955
13955
} else if self.parse_keyword(Keyword::METRICS) {
13956
13956
if !metrics.is_empty() {
13957
13957
return Err(ParserError::ParserError(
@@ -13965,7 +13965,7 @@ impl<'a> Parser<'a> {
13965
13965
"FACTS clause can only be specified once".to_string(),
13966
13966
));
13967
13967
}
13968
- facts = self.parse_comma_separated(Parser::parse_expr )?;
13968
+ facts = self.parse_comma_separated(Parser::parse_wildcard_expr )?;
13969
13969
} else if self.parse_keyword(Keyword::WHERE) {
13970
13970
if where_clause.is_some() {
13971
13971
return Err(ParserError::ParserError(
Original file line number Diff line number Diff line change @@ -16952,6 +16952,11 @@ fn test_parse_semantic_view_table_factor() {
16952
16952
None,
16953
16953
),
16954
16954
("SELECT * FROM SEMANTIC_VIEW(model METRICS orders.*)", None),
16955
+ ("SELECT * FROM SEMANTIC_VIEW(model FACTS fact.*)", None),
16956
+ (
16957
+ "SELECT * FROM SEMANTIC_VIEW(model DIMENSIONS dim.* METRICS orders.*)",
16958
+ None,
16959
+ ),
16955
16960
// We can parse in any order but will always produce a result in a fixed order.
16956
16961
(
16957
16962
"SELECT * FROM SEMANTIC_VIEW(model WHERE x > 0 DIMENSIONS dim1)",
You can’t perform that action at this time.
0 commit comments