File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ const Expression = ({data}) => {
2222 if ( data . type === "expression_leaf" ) {
2323 if ( data . leaf_type === "column" ) {
2424 return < div style = { { display : "inline" } } > { data . displayName } </ div >
25+ } else if ( data . leaf_type === "simple_column" ) {
26+ return < div style = { { display : "inline" } } > { data . column } </ div >
2527 } else if ( data . leaf_type === "constant" ) {
2628 return < div style = { { display : "inline" } } > { data . value } </ div >
2729 } else if ( data . leaf_type === "unknown" ) {
@@ -90,6 +92,9 @@ const Operator = ({data}) => {
9092 if ( data . operator === "tablescan" ) {
9193 return < OperatorContainer heading = { `\u2637\u2003 ${ data . tablename } ` } >
9294 < div > < b > Table Size:</ b > { data . tableSize } </ div >
95+ { data . restrictions && < div > < b > Restrictions:</ b > { data . restrictions . map ( ( res ) => < div > < Expression data = { res } /> </ div > ) } </ div >
96+
97+ }
9398 </ OperatorContainer >
9499 } else if ( data . operator === "selection" ) {
95100 return < OperatorContainer heading = { `\u03c3\u2003 Selection` } >
You can’t perform that action at this time.
0 commit comments