Closed hsheth2 closed 2 years ago
I think I'm running into a similar issue that's presenting slightly differently. Specifically, when using leading commas like so:
measure: test_measure {
type: sum
sql: ${test_query} ;;
view_label: " Measures"
group_label: "Group One"
label: "Group One"
description: "Test"
filters: [test: "Yes"
, test_two: "-Monday,-Tuesday"
, test_three: ">=8 AND <19"]
hidden: yes
}
I'm also observing this issue with leading commas.
SyntaxError: Unable to find a matching expression for '<whitespace>' on line 1442
1441 filters: [c.ta_yn: "No"
1442 ,j.p_s: "-MZ"
1443 ,j.i_p_c: "No"
1444 ]
If there is a space after
"CLOSED"
, lkml throws an error:SyntaxError: Unable to find a matching expression for '<whitespace>' on line 15
Removing the space between the "CLOSED" and the comma works.
Full debug logs below: