ddlog icon indicating copy to clipboard operation
ddlog copied to clipboard

table schema not checked in ddlog compilation

Open xiaoling opened this issue 9 years ago • 0 comments

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).

xiaoling avatar Mar 10 '16 00:03 xiaoling