@@ -19,7 +19,6 @@ use std::sync::LazyLock;
19
19
use anyhow:: { anyhow, Context } ;
20
20
use either:: Either ;
21
21
use external_schema:: debezium:: extract_debezium_avro_table_pk_columns;
22
- use external_schema:: iceberg:: check_iceberg_source;
23
22
use external_schema:: nexmark:: check_nexmark_schema;
24
23
use itertools:: Itertools ;
25
24
use maplit:: { convert_args, hashmap, hashset} ;
@@ -28,7 +27,7 @@ use rand::Rng;
28
27
use risingwave_common:: array:: arrow:: { arrow_schema_iceberg, IcebergArrowConvert } ;
29
28
use risingwave_common:: bail_not_implemented;
30
29
use risingwave_common:: catalog:: {
31
- debug_assert_column_ids_distinct, ColumnCatalog , ColumnDesc , ColumnId , Schema , TableId ,
30
+ debug_assert_column_ids_distinct, ColumnCatalog , ColumnDesc , ColumnId , TableId ,
32
31
INITIAL_SOURCE_VERSION_ID , KAFKA_TIMESTAMP_COLUMN_NAME , ROW_ID_COLUMN_NAME ,
33
32
} ;
34
33
use risingwave_common:: license:: Feature ;
@@ -620,7 +619,7 @@ pub(super) fn bind_source_watermark(
620
619
///
621
620
/// One should only call this function after all properties of all columns are resolved, like
622
621
/// generated column descriptors.
623
- pub ( super ) async fn check_format_encode (
622
+ pub ( super ) fn check_format_encode (
624
623
props : & WithOptionsSecResolved ,
625
624
row_id_index : Option < usize > ,
626
625
columns : & [ ColumnCatalog ] ,
@@ -631,10 +630,6 @@ pub(super) async fn check_format_encode(
631
630
632
631
if connector == NEXMARK_CONNECTOR {
633
632
check_nexmark_schema ( props, row_id_index, columns)
634
- } else if connector == ICEBERG_CONNECTOR {
635
- Ok ( check_iceberg_source ( props, columns)
636
- . await
637
- . map_err ( |err| ProtocolError ( err. to_report_string ( ) ) ) ?)
638
633
} else {
639
634
Ok ( ( ) )
640
635
}
@@ -892,7 +887,7 @@ pub async fn bind_create_source_or_table_with_connector(
892
887
sql_columns_defs. to_vec ( ) ,
893
888
& pk_col_ids,
894
889
) ?;
895
- check_format_encode ( & with_properties, row_id_index, & columns) . await ?;
890
+ check_format_encode ( & with_properties, row_id_index, & columns) ?;
896
891
897
892
let definition = handler_args. normalized_sql . clone ( ) ;
898
893
0 commit comments