@@ -715,7 +715,7 @@ def test_order_by_two_cols_nulls(con, op1, nf1, nf2, op2, expected):
715
715
getattr (t ["col2" ], op2 )(nulls_first = nf2 ),
716
716
)
717
717
718
- if ( con .name in ("pandas" , "dask" )) and ( nf1 != nf2 ) :
718
+ if con .name in ("pandas" , "dask" ) and nf1 != nf2 :
719
719
with pytest .raises (
720
720
ValueError ,
721
721
match = f"{ con .name } does not support specifying null ordering for individual column" ,
@@ -769,23 +769,11 @@ def test_table_info_large(con):
769
769
770
770
771
771
@pytest .mark .notimpl (
772
- [
773
- "datafusion" ,
774
- "bigquery" ,
775
- "impala" ,
776
- "mysql" ,
777
- "mssql" ,
778
- "trino" ,
779
- "flink" ,
780
- ],
772
+ ["datafusion" , "bigquery" , "impala" , "mysql" , "mssql" , "trino" , "flink" ],
781
773
raises = com .OperationNotDefinedError ,
782
774
reason = "quantile and mode is not supported" ,
783
775
)
784
- @pytest .mark .notimpl (
785
- ["druid" ],
786
- raises = com .OperationNotDefinedError ,
787
- reason = "Mode and StandardDev is not supported" ,
788
- )
776
+ @pytest .mark .notimpl (["druid" ], raises = com .OperationNotDefinedError )
789
777
@pytest .mark .notyet (
790
778
["druid" ],
791
779
raises = PyDruidProgrammingError ,
@@ -895,31 +883,17 @@ def test_table_info_large(con):
895
883
),
896
884
param (
897
885
s .of_type ("string" ),
898
- [
899
- "name" ,
900
- "pos" ,
901
- "type" ,
902
- "count" ,
903
- "nulls" ,
904
- "unique" ,
905
- "mode" ,
906
- ],
886
+ ["name" , "pos" , "type" , "count" , "nulls" , "unique" , "mode" ],
907
887
marks = [
908
888
pytest .mark .notimpl (
909
- [
910
- "clickhouse" ,
911
- "exasol" ,
912
- "impala" ,
913
- "pyspark" ,
914
- "risingwave" ,
915
- ],
889
+ ["clickhouse" , "exasol" , "impala" , "pyspark" , "risingwave" ],
916
890
raises = com .OperationNotDefinedError ,
917
891
reason = "mode is not supported" ,
918
892
),
919
893
pytest .mark .notimpl (
920
894
["oracle" ],
921
- raises = com . OperationNotDefinedError ,
922
- reason = "Mode is not supported and ORA-02000: missing AS keyword" ,
895
+ raises = OracleDatabaseError ,
896
+ reason = "ORA-02000: missing AS keyword" ,
923
897
),
924
898
pytest .mark .notimpl (
925
899
["dask" ],
@@ -941,33 +915,18 @@ def test_table_describe(alltypes, selector, expected_columns):
941
915
942
916
943
917
@pytest .mark .notimpl (
944
- [
945
- "datafusion" ,
946
- "bigquery" ,
947
- "impala" ,
948
- "mysql" ,
949
- "mssql" ,
950
- "trino" ,
951
- "flink" ,
952
- "sqlite" ,
953
- ],
918
+ ["datafusion" , "bigquery" , "impala" , "mysql" , "mssql" , "trino" , "flink" , "sqlite" ],
954
919
raises = com .OperationNotDefinedError ,
955
920
reason = "quantile is not supported" ,
956
921
)
957
- @pytest .mark .notimpl (
958
- ["druid" ],
959
- raises = com .OperationNotDefinedError ,
960
- reason = "StandardDev is not supported" ,
961
- )
922
+ @pytest .mark .notimpl (["druid" ], raises = com .OperationNotDefinedError )
962
923
@pytest .mark .notyet (
963
924
["druid" ],
964
925
raises = PyDruidProgrammingError ,
965
926
reason = "Druid only supports trivial unions" ,
966
927
)
967
928
@pytest .mark .notyet (
968
- ["oracle" ],
969
- raises = OracleDatabaseError ,
970
- reason = "Mode is not supported and ORA-02000: missing AS keyword" ,
929
+ ["oracle" ], raises = OracleDatabaseError , reason = "ORA-02000: missing AS keyword"
971
930
)
972
931
def test_table_describe_large (con ):
973
932
num_cols = 129
0 commit comments