ddlog icon indicating copy to clipboard operation
ddlog copied to clipboard

Nullary functions not accepted by parser

Open xiao-cheng opened this issue 9 years ago • 0 comments

Currently SQL functions such as random() that has zero arguments are not accepted using deepdive compile.

Here is Jaeho's note:

Actually, I took a brief look at ddlog compiler code, and it turns out if you modify one byte in ddlog source, random() will probably be accepted: changing rep1sep to repsep at: https://github.com/HazyResearch/ddlog/blob/master/src/main/scala/org/deepdive/ddlog/DeepDiveLogParser.scala#L240

xiao-cheng avatar Apr 11 '16 04:04 xiao-cheng