mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: pinot select query logic (#9954)
* Update how pinot handles selection logic * Change DATETIMECONVERT argument to use single quote for literals
This commit is contained in:
@@ -29,5 +29,5 @@ class PinotTestCase(DbEngineSpecTestCase):
|
||||
result = str(expr.compile())
|
||||
self.assertEqual(
|
||||
result,
|
||||
'DATETIMECONVERT(tstamp, "1:SECONDS:EPOCH", "1:SECONDS:EPOCH", "1:MONTHS")',
|
||||
"DATETIMECONVERT(tstamp, '1:SECONDS:EPOCH', '1:SECONDS:EPOCH', '1:MONTHS')",
|
||||
) # noqa
|
||||
|
||||
Reference in New Issue
Block a user