You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automated column name generation causes issues in Observable #38
In our Observable notebook setup, the following query throws an error
SELECT PROBABILITY DENSITY OF VAR Class_of_Orbit = "GEO"
UNDER model CONDITIONED BY VAR Type_of_Orbit = "Polar"
FROM data
LIMIT 3
Error: {:status 200,
:failure :parse,
:response nil,
:status-text
"The map literal starting with :PROBABILITYDENSITYOFVARClass_of_Orbit= contains 5 form(s). Map literals must contain an even number of forms. Format should have been EDN",
:original-text
"{:result ({:PROBABILITYDENSITYOFVARClass_of_Orbit=\"GEO\"UNDERmodelCONDITIONEDBYVARType_of_Orbit=\"Polar\" 0.32519264870150766} {:PROBABILITYDENSITYOFVARClass_of_Orbit=\"GEO\"UNDERmodelCONDITIONEDBYVARType_of_Orbit=\"Polar\" 0.32519264870150766} {:PROBABILITYDENSITYOFVARClass_of_Orbit=\"GEO\"UNDERmodelCONDITIONEDBYVARType_of_Orbit=\"Polar\" 0.32519264870150766}), :metadata {:iql/columns (:PROBABILITYDENSITYOFVARClass_of_Orbit=\"GEO\"UNDERmodelCONDITIONEDBYVARType_of_Orbit=\"Polar\")}}"}
This error does not appear in the IQL command line:
SELECT PROBABILITY DENSITY OF VAR Class_of_Orbit = "GEO"
UNDER model CONDITIONED BY VAR Type_of_Orbit = "Polar"
FROM data
LIMIT 3
| PROBABILITYDENSITYOFVARClass_of_Orbit="GEO"UNDERmodelCONDITIONEDBYVARType_of_Orbit="Polar" |
|--------------------------------------------------------------------------------------------|
| 0.32874055569161015 |
| 0.32874055569161015 |
| 0.32874055569161015 |
It also doesn't appear in IQL-publish which suggests that the error is due to fact that the automatically generated column name can't be serialized to edn (IQL-publish uses JSON for serialization).
Activity