[
https://issues.apache.org/jira/browse/CALCITE-4131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17433104#comment-17433104
]
Julian Hyde commented on CALCITE-4131:
--------------------------------------
{quote}The .iq can't judge this exception(use ErrorCommand).\{quote}
Is that because Quidem's {{!error}} command is doing the wrong thing? Or
because the function is throwing the wrong kind of exception?
{{JdbcTest}} has far too many tests. The original intention was to test
Calcite's implementation of the JDBC protocol, not test arbitrary functionality.
> the XmlFunctions exception handled by System.out
> ------------------------------------------------
>
> Key: CALCITE-4131
> URL: https://issues.apache.org/jira/browse/CALCITE-4131
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: Haisheng Yuan
> Assignee: duan xiong
> Priority: Major
> Labels: pull-request-available
> Attachments: after apply the PR.png, before apply the PR.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The error doesn't affect the proceeding of the test suite, and doesn't fail
> the test. But the error message is not so pleasing:
> {code:java}
> SqlToRelConverterExtendedTest > testCrossJoinLateral1() STANDARD_ERROR
> [Fatal Error] :1:2: XML document structures must start and end within the
> same entity.
> ERROR: 'Could not compile stylesheet'
> FATAL ERROR: 'XML document structures must start and end within the same
> entity.'
> :XML document structures must start and end within the same
> entity.
> SqlToRelConverterExtendedTest > testMatchRecognizeIn() STANDARD_ERROR
> ERROR: 'XML document structures must start and end within the same
> entity.'
> ERROR: 'com.sun.org.apache.xml.internal.utils.WrappedRuntimeException:
> XML document structures must start and end within the same entity.'
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)