ddlog
ddlog copied to clipboard
table schema not checked in ddlog compilation
I have a ddlog file shown below. Note that the last reference to the nlp table has the wrong schema. When the ddlog file is compiled, there was no error reported.
nlp(doc_id text,
part text,
json text).
t(doc_id text,
json text).
function f over (doc_id text, json text)
returns rows like t
implementation "udf/udf.py" handles tsv lines.
t += f(doc_id, json) :-
nlp(doc_id, json).