LucidDB / luciddb

DEFUNCT: See README
https://github.com/LucidDB/luciddb
Apache License 2.0
53 stars 24 forks source link

[FRG-234] Make 'and' happen on new rows #638

Closed dynamobi-build closed 12 years ago

dynamobi-build commented 12 years ago

[reporter="ogothberg", created="Mon, 6 Nov 2006 10:10:15 -0500 (GMT-05:00)"]

dynamobi-build commented 12 years ago

[author="ogothberg", created="Thu, 8 Mar 2007 12:41:07 -0500 (GMT-05:00)"] eigenchange 8847 adds option prettyWriter.setWhereListItemsOnSeparateLines(boolean b) which sets whether to split where clauses on multiple lines.

Rather than just splitting on "and" however I made it split on whichever is the lowest-precedence binary logical operator at top level of parse tree, so if there's a top-level OR, split will be on ORs rather than ANDs.