@@ -2262,35 +2262,18 @@ end
22622262 @test a == a
22632263end
22642264
2265- @testitem " Equality for ExportColumn" tags= [:ring1 , :unit ] begin
2266- using LogicalQueryProtocol: ExportColumn
2267-
2268- a = ExportColumn (name= " col1" , nullable= false )
2269- b = ExportColumn (name= " col1" , nullable= false )
2270- c = ExportColumn (name= " col2" , nullable= false )
2271- d = ExportColumn (name= " col1" , nullable= true )
2272-
2273- @test a == b
2274- @test a != c
2275- @test a != d
2276- @test isequal (a, b)
2277- @test hash (a) == hash (b)
2278- @test a == a
2279- end
2280-
22812265@testitem " Equality for ExportIcebergConfig" tags= [:ring1 , :unit ] begin
2282- using LogicalQueryProtocol: ExportIcebergConfig, ExportColumn, IcebergLocator, IcebergCatalogConfig, RelationId
2266+ using LogicalQueryProtocol: ExportIcebergConfig, IcebergLocator, IcebergCatalogConfig, RelationId
22832267
22842268 loc = IcebergLocator (table_name= " t" , namespace= [" n" ], warehouse= " w" )
22852269 cfg = IcebergCatalogConfig (catalog_uri= " uri" , scope= " " , properties= Dict (), auth_properties= Dict ())
22862270 rid = RelationId (id_low= 1 , id_high= 0 )
2287- cols = [ExportColumn (name= " c1" , nullable= false )]
22882271
2289- a = ExportIcebergConfig (locator= loc, config= cfg, table_def= rid, columns = cols, prefix= " " , target_file_size_bytes= 0 , compression= " " , table_properties= Dict ())
2290- b = ExportIcebergConfig (locator= loc, config= cfg, table_def= rid, columns = cols, prefix= " " , target_file_size_bytes= 0 , compression= " " , table_properties= Dict ())
2291- c = ExportIcebergConfig (locator= loc, config= cfg, table_def= rid, columns = cols, prefix= " pfx" , target_file_size_bytes= 0 , compression= " " , table_properties= Dict ())
2292- d = ExportIcebergConfig (locator= loc, config= cfg, table_def= rid, columns = cols, prefix= " " , target_file_size_bytes= 0 , compression= " SNAPPY" , table_properties= Dict ())
2293- e = ExportIcebergConfig (locator= loc, config= cfg, table_def= rid, columns = cols, prefix= " " , target_file_size_bytes= 0 , compression= " " , table_properties= Dict (" k" => " v" ))
2272+ a = ExportIcebergConfig (locator= loc, config= cfg, table_def= rid, prefix= " " , target_file_size_bytes= 0 , compression= " " , table_properties= Dict ())
2273+ b = ExportIcebergConfig (locator= loc, config= cfg, table_def= rid, prefix= " " , target_file_size_bytes= 0 , compression= " " , table_properties= Dict ())
2274+ c = ExportIcebergConfig (locator= loc, config= cfg, table_def= rid, prefix= " pfx" , target_file_size_bytes= 0 , compression= " " , table_properties= Dict ())
2275+ d = ExportIcebergConfig (locator= loc, config= cfg, table_def= rid, prefix= " " , target_file_size_bytes= 0 , compression= " SNAPPY" , table_properties= Dict ())
2276+ e = ExportIcebergConfig (locator= loc, config= cfg, table_def= rid, prefix= " " , target_file_size_bytes= 0 , compression= " " , table_properties= Dict (" k" => " v" ))
22942277
22952278 @test a == b
22962279 @test a != c
0 commit comments