update to icebug-disk v1 - #3
Conversation
"node_table_files" : [
"nt1" : "node_table1.parquet",
"nt2" : "node_table2.parquet",
... ]
"rel_table_files" : [
"rel_table1" : ["from_table_name", "to_table_name", "from_col", "to_col", "rel_table.parquet"],
"rel_table2" : [...],
...
]so that users can just bring their parquet files without modifying source tables |
|
ok to get rid of generate/*.py in a separate PR Leaning towards convention over configuration ruby style. If someone brings a directory full of parquet files we could add some scripts that rename/generate the schema.cypher instead of requiring them to read docs and write such a config file. |
|
What was the motivation for removing the node table entry from schema.cypher? Because they're not explicitly used? The main reason why they're there is to help the icebug-format cli to understand acceptable node types for rel tables. Also important for multi rel tables IIRC. |
CLI is not treating it as cypher |
|
That was a practical compromise to avoid linking a ladybug cypher parser into icebug-format cli. Generating output schema.cypher without the node table definition will require parsing parquet and converting types. |
|
Looks good. Two minor nits:
Ideal invocation: and it could infer: from |
are we going to release icebug-format before ladybug? |
|
do we need ladybug in dependencies at all? |
|
Good point. Ok to remove. |
done |
No description provided.