yanlin-Lynn commented on a change in pull request #1301: [CALCITE-3175]
AssertionError during serializing RexLiteral with Enum type.
URL: https://github.com/apache/calcite/pull/1301#discussion_r307100018
##########
File path: core/src/test/java/org/apache/calcite/plan/RelWriterTest.java
##########
@@ -59,7 +63,7 @@
/**
* Unit test for {@link org.apache.calcite.rel.externalize.RelJson}.
*/
-public class RelWriterTest {
+public class RelWriterTest extends SqlToRelTestBase {
public static final String XX = "{\n"
Review comment:
I know there exists sample code snippet to do this. But what I mean is, we
already have a simpler way to get the RelNode, why take the effort to build it
manually.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services