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
native: SELECT properties FROM schema:types returns each property as a str, not a map as on the JVM build #195
Found by the new native examples job (#192, PR #193): examples/04_csv_import_documents.py fails on the native wheel at its schema step.
result=db.query("sql", "SELECT properties FROM schema:types WHERE name = 'Movie'")
forrecordinresult:
forpropinrecord.get("properties"):
prop_map=dict(prop.toMap()) ifhasattr(prop, "toMap") elsepropprop_map.get("name")
On the JVM build each element of properties is a map (name, type, ...). On the native build the element is a str, so the example stops with AttributeError: 'str' object has no attribute 'get' (CI run 41430479689, Linux x86-64, Python 3.12, native wheel of main 52dec6f).
Expected on both builds: each element is a dict with the same keys the JVM build exposes, so code that reads the schema works the same way on either package. Examples 05 and 06 read the export that 04 writes, so they fail with it; PR #193 lists all three on the native skip list with a pointer to this issue until it is fixed.
Activity
native schema readers take the property entries as maps (#195)
native columnar insert reads the schema entries as maps too (#195)
native: a query row nested in a value reaches Python as a map, not a …
ci: native examples skip list: the JVM-only examples and the engine-2…
ci: run examples/ against the installed native wheel (#192) (#193)