Github user twalthr commented on a diff in the pull request:
https://github.com/apache/flink/pull/2372#discussion_r74772260
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/exceptions.scala
---
@@ -37,3 +37,16 @@ case class ValidationException(msg: String) extends
RuntimeException(msg)
* Exception for unwanted method calling on unresolved expression.
*/
case class UnresolvedException(msg: String) extends RuntimeException(msg)
+
+/**
+ * Exceptions for all errors occurring during sql parse phase
+ */
+case class FlinkSqlParseException(msg: String) extends
RuntimeException(msg)
+
+/**
+ * Exception for errors when attempting conversion to a set of
+ * [[org.apache.calcite.rel.RelNode]]s.
+ */
+case class FlinkRelConversionException(msg: String) extends
RuntimeException(msg)
--- End diff --
Wouldn't be a general `TableException` enough here?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---