Search in sources :

Example 11 with PlanInfo

use of io.confluent.ksql.execution.plan.PlanInfo in project ksql by confluentinc.

the class PlanInfoExtractorTest method shouldExtractSource.

@Test
public void shouldExtractSource() {
    // When:
    final PlanInfo planInfo = streamSource.extractPlanInfo(planInfoExtractor);
    // Then:
    assertThat(planInfo.isRepartitionedInPlan(streamSource), is(false));
}
Also used : PlanInfo(io.confluent.ksql.execution.plan.PlanInfo) Test(org.junit.Test)

Aggregations

PlanInfo (io.confluent.ksql.execution.plan.PlanInfo)11 Test (org.junit.Test)7 GenericKey (io.confluent.ksql.GenericKey)3 Materialized (org.apache.kafka.streams.kstream.Materialized)3 KsqlException (io.confluent.ksql.util.KsqlException)2 GenericRow (io.confluent.ksql.GenericRow)1 MaterializationInfo (io.confluent.ksql.execution.materialization.MaterializationInfo)1 ExecutionKeyFactory (io.confluent.ksql.execution.plan.ExecutionKeyFactory)1 KStreamHolder (io.confluent.ksql.execution.plan.KStreamHolder)1 KTableHolder (io.confluent.ksql.execution.plan.KTableHolder)1 PlanInfoExtractor (io.confluent.ksql.execution.plan.PlanInfoExtractor)1 SourceStep (io.confluent.ksql.execution.plan.SourceStep)1 StreamSource (io.confluent.ksql.execution.plan.StreamSource)1 TableSourceV1 (io.confluent.ksql.execution.plan.TableSourceV1)1 WindowedStreamSource (io.confluent.ksql.execution.plan.WindowedStreamSource)1 WindowedTableSource (io.confluent.ksql.execution.plan.WindowedTableSource)1 RuntimeBuildContext (io.confluent.ksql.execution.runtime.RuntimeBuildContext)1 AddKeyAndPseudoColumns (io.confluent.ksql.execution.streams.SourceBuilderUtils.AddKeyAndPseudoColumns)1 SourceBuilderUtils.buildSchema (io.confluent.ksql.execution.streams.SourceBuilderUtils.buildSchema)1 SourceBuilderUtils.buildSourceConsumed (io.confluent.ksql.execution.streams.SourceBuilderUtils.buildSourceConsumed)1