Closed patrickgaskill closed 4 years ago
This is because cockroach doesn't support RECURSIVE. See https://github.com/cockroachdb/cockroach/issues/21085.
The same happens with lateral joins.
Do you know if there are plans to extend cockroach's SQL parser ahead of the actually supported PostgreSQL features? Just enough to support the formatting part.
Anyway, thanks for the great work! :)
The current cockroach parser doesn't make that kind of support easy, and we haven't done that in the past. We would like to, though, and have a similar project in mind. We will consider this need in the future.
RECURSIVE is now supported so perhaps this issue can be closed?
Built and redeployed on master. This works now. Thanks for the prompt!
From the docs: https://www.postgresql.org/docs/9.1/queries-with.html
Trying to fumpt this:
results in
unimplemented at or near "select"
Removing
RECURSIVE
will let it format successfully.