sqls icon indicating copy to clipboard operation
sqls copied to clipboard

aliased literals and scientific notation are not parsed and formatted correctly

Open lovasoa opened this issue 1 year ago • 0 comments

Currently, sqls formats the following valid sql :

select 1 as number, 'string' as str, 1.2 as float, 1.2e-3 as negative_scientific, TRUE as boolean

into the following invalid sql :

SELECT
        1ASnumber,
        'string'ASstr,
        1.2ASFLOAT,
        1.2e - 3 AS negative_scientificTRUEASBOOLEAN

lovasoa avatar Feb 23 '24 11:02 lovasoa