Hi
 
i work a little on https://github.com/FirebirdSQL/firebird/pull/223.
I know this is not top 1 priority for the team, but i need some decisions from 
the team about formatting
 
1. Style of the name of xml nodes
"JoinType" like MSSQL
"Join-Type" like Postgress
"Join_Type"
other proposition..
 
2. Plan xml formatting with attributes or without
a) with attributes
 
<?xml version="1.0" encoding="UTF-8"?> 
<SelectExpression xmlns="http://www.firebirdsql.org";> 
    <Node Operation="Union"> 
        <Node Operation="Nested Loop Join" JoinType="Inner">             
            <Node Operation="Full Scan"> 
                <Table alias=" &lt; xml &gt;">RDB$DATABASE</Table> 
            </Node> 
            <Node Operation="Filter"> 
                <Table Alias="R" Access="By ID">RDB$RELATIONS</Table> 
                <Node Operation="Bitmap"> 
                    <Index>RDB$INDEX_1</Index> 
                    <Scan>Range</Scan> 
                    <Match>full</Match> 
                </Node> 
            </Node> 
        </Node> 
        <Node Operation="Nested Loop Join" JoinType="Inner">                 
                <Node Operation="Full Scan">
                     <Table alias=" &lt; xml &gt;">RDB$DATABASE</Table> 
                </Node> 
            <Node Operation="Filter"> 
                <Table Alias="R" Access="By ID">RDB$RELATIONS</Table> 
                <Node Operation="Bitmap"> 
                    <Index>RDB$INDEX_1</Index> 
                    <Scan>Range</Scan> 
                    <Match>full</Match> 
                </Node> 
            </Node> 
        </Node> 
    </Node> 
</SelectExpression>
 
b) without attributes at all
 
<?xml version="1.0" encoding="UTF-8"?> 
<SelectExpression xmlns="http://www.firebirdsql.org";> 
    <Node> 
        <Operation>Union</Operation>
        <Node>             
            <Operation>Nested Loop Join</Operation>
            <JoinType>Inner</JoinType>
            <Node> 
                <Operation>Full Scan</Operation>
                <Alias> &lt; xml &gt;</Alias>
                <Table>RDB$DATABASE</Table> 
            </Node> 
            <Node> 
                <Operation>Filter</Operation>
                <Alias>R</Alias>
                <Access>By ID</Access>
                <Table>RDB$RELATIONS</Table>
                <Node> 
                    <Operation>Bitmap</Operation>
                    <Index>RDB$INDEX_1</Index> 
                    <Scan>Range</Scan> 
                    <Match>full</Match> 
                </Node> 
            </Node> 
        </Node> 
        <Node> 
            <Operation>Nested Loop Join</Operation>
            <JoinType>Inner</JoinType>
            <Alias> &lt; xml &gt;</Alias>
            <Table>RDB$DATABASE</Table>
                <Node> 
                    <Operation>Full Scan</Operation>
                </Node> 
            <Node> 
                <Operation>Filter</Operation>
                <Alias>R</Alias>
                <Table>RDB$RELATIONS</Table>
                <Access>By ID</Access>
                <Node> 
                    <Operation>Bitmap</Operation>
                    <Index>RDB$INDEX_1</Index> 
                    <Scan>Range</Scan> 
                    <Match>full</Match> 
                </Node> 
            </Node> 
        </Node> 
    </Node> 
</SelectExpression>
 
any others hints are more than welcome
 
regards,
Karol Bieniaszewski
 
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to