malloydata / malloy

Malloy is an experimental language for describing data relationships and transformations.
http://www.malloydata.dev
MIT License
1.91k stars 75 forks source link

Fix double nested schema parsing #1717

Closed whscullin closed 2 months ago

whscullin commented 2 months ago

Handle the case of arrays in arrays - aa array(row(a double, b array(row(c integer, d varchar(60))))) was getting parsed with a name of aa array(row(a double, b and type of array(row(c integer, d varchar(60))))), this makes sure we stop at the first array(

Also fixes timestamps being returned as strings.

whscullin commented 2 months ago

Handle the case of arrays in arrays - aa array(row(a double, b array(row(c integer, d varchar(60))))) was getting parsed with a name of aa array(row(a double, b and type of array(row(c integer, d varchar(60))))), this makes sure we stop at the first array(

Also fixes timestamps being returned as strings.