== Abstract Syntax Tree ==
LogicalSink(table=[fluss.nexmark.output_d63301737e5d44fc9815fc22c905a086], fields=[auction, bidder, price, itemName, dateTime, seller])
+- LogicalProject(auction=[$0], bidder=[$1], price=[$2], itemName=[$16], dateTime=[$20], seller=[$22])
   +- LogicalJoin(condition=[=($22, $1)], joinType=[inner])
      :- LogicalJoin(condition=[=($7, $1)], joinType=[inner])
      :  :- LogicalProject(auction=[$3.auction], bidder=[$3.bidder], price=[$3.price], channel=[$3.channel], url=[$3.url], dateTime=[$5], extra=[$3.extra])
      :  :  +- LogicalFilter(condition=[=($0, 2)])
      :  :     +- LogicalProject(event_type=[$0], person=[$1], auction=[$2], bid=[$3], dateTime=[$4], rowtime=[$5])
      :  :        +- LogicalWatermarkAssigner(rowtime=[rowtime], watermark=[-($5, 4000:INTERVAL SECOND)])
      :  :           +- LogicalProject(event_type=[$0], person=[$1], auction=[$2], bid=[$3], dateTime=[$4], rowtime=[TO_TIMESTAMP_LTZ($4, 3)])
      :  :              +- LogicalTableScan(table=[[fluss, nexmark, events]])
      :  +- LogicalProject(id=[$1.id], name=[$1.name], emailAddress=[$1.emailAddress], creditCard=[$1.creditCard], city=[$1.city], state=[$1.state], dateTime=[$5], extra=[$1.extra])
      :     +- LogicalFilter(condition=[=($0, 0)])
      :        +- LogicalProject(event_type=[$0], person=[$1], auction=[$2], bid=[$3], dateTime=[$4], rowtime=[$5])
      :           +- LogicalWatermarkAssigner(rowtime=[rowtime], watermark=[-($5, 4000:INTERVAL SECOND)])
      :              +- LogicalProject(event_type=[$0], person=[$1], auction=[$2], bid=[$3], dateTime=[$4], rowtime=[TO_TIMESTAMP_LTZ($4, 3)])
      :                 +- LogicalTableScan(table=[[fluss, nexmark, events]])
      +- LogicalProject(id=[$2.id], itemName=[$2.itemName], description=[$2.description], initialBid=[$2.initialBid], reserve=[$2.reserve], dateTime=[$5], expires=[TO_TIMESTAMP_LTZ($2.expires, 3)], seller=[$2.seller], category=[$2.category], extra=[$2.extra])
         +- LogicalFilter(condition=[=($0, 1)])
            +- LogicalProject(event_type=[$0], person=[$1], auction=[$2], bid=[$3], dateTime=[$4], rowtime=[$5])
               +- LogicalWatermarkAssigner(rowtime=[rowtime], watermark=[-($5, 4000:INTERVAL SECOND)])
                  +- LogicalProject(event_type=[$0], person=[$1], auction=[$2], bid=[$3], dateTime=[$4], rowtime=[TO_TIMESTAMP_LTZ($4, 3)])
                     +- LogicalTableScan(table=[[fluss, nexmark, events]])

== Optimized Physical Plan ==
NativeFlussSink(reuseBarrier=[3058])
+- NativeColumnarUpdatingJoin(reuseBarrier=[3057], leftJoinKeyUnique=[false], rightJoinKeyUnique=[false])
   :- NativeColumnarExchange(reuseBarrier=[3052])
   :  +- NativeCalc(reuseBarrier=[3051])
   :     +- NativeColumnarUpdatingJoin(reuseBarrier=[3050], leftJoinKeyUnique=[false], rightJoinKeyUnique=[false])
   :        :- NativeColumnarExchange(reuseBarrier=[3034])
   :        :  +- NativeCalc(reuseBarrier=[3033])
   :        :     +- NativeCalc(reuseBarrier=[3032])
   :        :        +- NativeShare(consumers=[3], shareToken=[3030])
   :        :           +- NativeFlussSource(table=[nexmark.events], shareToken=[3030])
   :        +- NativeColumnarExchange(reuseBarrier=[3049])
   :           +- NativeCalc(reuseBarrier=[3048])
   :              +- NativeCalc(reuseBarrier=[3047])
   :                 +- NativeShare(consumers=[3], shareToken=[3030])
   :                    +- NativeFlussSource(table=[nexmark.events], shareToken=[3030])
   +- NativeColumnarExchange(reuseBarrier=[3056])
      +- NativeCalc(reuseBarrier=[3055])
         +- NativeCalc(reuseBarrier=[3054])
            +- NativeShare(consumers=[3], shareToken=[3030])
               +- NativeFlussSource(table=[nexmark.events], shareToken=[3030])

== Optimized Execution Plan ==
NativeFlussSink
+- NativeColumnarUpdatingJoin(leftJoinKeyUnique=[false], rightJoinKeyUnique=[false])
   :- NativeColumnarExchange
   :  +- NativeCalc
   :     +- NativeColumnarUpdatingJoin(leftJoinKeyUnique=[false], rightJoinKeyUnique=[false])
   :        :- NativeColumnarExchange
   :        :  +- NativeCalc
   :        :     +- NativeCalc
   :        :        +- NativeShare(consumers=[3])(reuse_id=[1])
   :        :           +- NativeFlussSource(table=[nexmark.events])
   :        +- NativeColumnarExchange
   :           +- NativeCalc
   :              +- NativeCalc
   :                 +- Reused(reference_id=[1])
   +- NativeColumnarExchange
      +- NativeCalc
         +- NativeCalc
            +- Reused(reference_id=[1])

== Physical Execution Plan ==
{
  "nodes" : [ {
    "id" : 4335,
    "type" : "Source: native-fluss-source",
    "pact" : "Data Source",
    "contents" : "Source: native-fluss-source",
    "parallelism" : 4
  }, {
    "id" : 4336,
    "type" : "NativeShareExecNode[2794]",
    "pact" : "Operator",
    "contents" : "[2794]:NativeShare(consumers=[3])",
    "parallelism" : 4,
    "predecessors" : [ {
      "id" : 4335,
      "ship_strategy" : "FORWARD",
      "side" : "second"
    } ]
  }, {
    "id" : 4337,
    "type" : "NativeCalcExecNode[2795]",
    "pact" : "Operator",
    "contents" : "[2795]:NativeCalc",
    "parallelism" : 4,
    "predecessors" : [ {
      "id" : 4336,
      "ship_strategy" : "FORWARD",
      "side" : "second"
    } ]
  }, {
    "id" : 4338,
    "type" : "NativeCalcExecNode[2796]",
    "pact" : "Operator",
    "contents" : "[2796]:NativeCalc",
    "parallelism" : 4,
    "predecessors" : [ {
      "id" : 4337,
      "ship_strategy" : "FORWARD",
      "side" : "second"
    } ]
  }, {
    "id" : 4339,
    "type" : "NativeColumnarExchangeExecNode[2797]",
    "pact" : "Operator",
    "contents" : "[2797]:NativeColumnarExchange",
    "parallelism" : 4,
    "predecessors" : [ {
      "id" : 4338,
      "ship_strategy" : "FORWARD",
      "side" : "second"
    } ]
  }, {
    "id" : 4341,
    "type" : "NativeCalcExecNode[2798]",
    "pact" : "Operator",
    "contents" : "[2798]:NativeCalc",
    "parallelism" : 4,
    "predecessors" : [ {
      "id" : 4336,
      "ship_strategy" : "FORWARD",
      "side" : "second"
    } ]
  }, {
    "id" : 4342,
    "type" : "NativeCalcExecNode[2799]",
    "pact" : "Operator",
    "contents" : "[2799]:NativeCalc",
    "parallelism" : 4,
    "predecessors" : [ {
      "id" : 4341,
      "ship_strategy" : "FORWARD",
      "side" : "second"
    } ]
  }, {
    "id" : 4343,
    "type" : "NativeColumnarExchangeExecNode[2800]",
    "pact" : "Operator",
    "contents" : "[2800]:NativeColumnarExchange",
    "parallelism" : 4,
    "predecessors" : [ {
      "id" : 4342,
      "ship_strategy" : "FORWARD",
      "side" : "second"
    } ]
  }, {
    "id" : 4345,
    "type" : "NativeColumnarUpdatingJoinExecNode[2801]",
    "pact" : "Operator",
    "contents" : "[2801]:NativeColumnarUpdatingJoin(leftJoinKeyUnique=[false], rightJoinKeyUnique=[false])",
    "parallelism" : 4,
    "predecessors" : [ {
      "id" : 4339,
      "ship_strategy" : "columnar-key-group",
      "side" : "second"
    }, {
      "id" : 4343,
      "ship_strategy" : "columnar-key-group",
      "side" : "second"
    } ]
  }, {
    "id" : 4346,
    "type" : "NativeCalcExecNode[2802]",
    "pact" : "Operator",
    "contents" : "[2802]:NativeCalc",
    "parallelism" : 4,
    "predecessors" : [ {
      "id" : 4345,
      "ship_strategy" : "FORWARD",
      "side" : "second"
    } ]
  }, {
    "id" : 4347,
    "type" : "NativeColumnarExchangeExecNode[2803]",
    "pact" : "Operator",
    "contents" : "[2803]:NativeColumnarExchange",
    "parallelism" : 4,
    "predecessors" : [ {
      "id" : 4346,
      "ship_strategy" : "FORWARD",
      "side" : "second"
    } ]
  }, {
    "id" : 4349,
    "type" : "NativeCalcExecNode[2804]",
    "pact" : "Operator",
    "contents" : "[2804]:NativeCalc",
    "parallelism" : 4,
    "predecessors" : [ {
      "id" : 4336,
      "ship_strategy" : "FORWARD",
      "side" : "second"
    } ]
  }, {
    "id" : 4350,
    "type" : "NativeCalcExecNode[2805]",
    "pact" : "Operator",
    "contents" : "[2805]:NativeCalc",
    "parallelism" : 4,
    "predecessors" : [ {
      "id" : 4349,
      "ship_strategy" : "FORWARD",
      "side" : "second"
    } ]
  }, {
    "id" : 4351,
    "type" : "NativeColumnarExchangeExecNode[2806]",
    "pact" : "Operator",
    "contents" : "[2806]:NativeColumnarExchange",
    "parallelism" : 4,
    "predecessors" : [ {
      "id" : 4350,
      "ship_strategy" : "FORWARD",
      "side" : "second"
    } ]
  }, {
    "id" : 4353,
    "type" : "NativeColumnarUpdatingJoinExecNode[2807]",
    "pact" : "Operator",
    "contents" : "[2807]:NativeColumnarUpdatingJoin(leftJoinKeyUnique=[false], rightJoinKeyUnique=[false])",
    "parallelism" : 4,
    "predecessors" : [ {
      "id" : 4347,
      "ship_strategy" : "columnar-key-group",
      "side" : "second"
    }, {
      "id" : 4351,
      "ship_strategy" : "columnar-key-group",
      "side" : "second"
    } ]
  }, {
    "id" : 4359,
    "type" : "native-fluss-append-sink: Writer",
    "pact" : "Operator",
    "contents" : "native-fluss-append-sink: Writer",
    "parallelism" : 4,
    "predecessors" : [ {
      "id" : 4353,
      "ship_strategy" : "FORWARD",
      "side" : "second"
    } ]
  } ]
}