You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Haisheng Yuan (Jira)" <ji...@apache.org> on 2019/08/20 23:50:00 UTC

[jira] [Resolved] (CALCITE-3259) Align 'Property' in the serialized xml string of RelXmlWriter.

     [ https://issues.apache.org/jira/browse/CALCITE-3259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Haisheng Yuan resolved CALCITE-3259.
------------------------------------
    Fix Version/s: 1.21.0
       Resolution: Fixed

Fixed in https://github.com/apache/calcite/commit/beeb012c994642e2db46c30e6059f1f1c22287c9, thanks for the PR, [~yanlin-Lynn]!

> Align 'Property' in the serialized xml string of RelXmlWriter.
> --------------------------------------------------------------
>
>                 Key: CALCITE-3259
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3259
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Wang Yanlin
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.21.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In the serialized xml string of  RelXmlWriter, the 'Property' label is aligned.
> For the sql below
> {noformat}
> select 1 + 2, 3 from (values (true))
> {noformat}
> the serialized xml string is like this:
> {noformat}
> <RelNode type="LogicalProject">
> 	<Property name="EXPR$0">
> 		+(1, 2)	</Property>
> 	<Property name="EXPR$1">
> 		3	</Property>
> 	<Inputs>
> 		<RelNode type="LogicalValues">
> 			<Property name="tuples">
> 				[{ true }]			</Property>
> 			<Inputs/>
> 		</RelNode>
> 	</Inputs>
> </RelNode>
> {noformat}
> It's better to make 'Property' aligned.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)