|
14 | 14 | "Arrow legacy IPC format is not supported in PySpark, please unset ARROW_PRE_0_15_IPC_FORMAT."
|
15 | 15 | ]
|
16 | 16 | },
|
| 17 | + "ATTEMPT_ANALYSIS_IN_PIPELINE_QUERY_FUNCTION": { |
| 18 | + "message": [ |
| 19 | + "Operations that trigger DataFrame analysis or execution are not allowed in pipeline query functions. Move code outside of the pipeline query function." |
| 20 | + ] |
| 21 | + }, |
17 | 22 | "ATTRIBUTE_NOT_CALLABLE": {
|
18 | 23 | "message": [
|
19 | 24 | "Attribute `<attr_name>` in provided object `<obj_name>` is not callable."
|
|
219 | 224 | "Unexpected filter <name>."
|
220 | 225 | ]
|
221 | 226 | },
|
| 227 | + "DECORATOR_ARGUMENT_NOT_CALLABLE": { |
| 228 | + "message": [ |
| 229 | + "The first positional argument passed to @<decorator_name> must be callable. Either add @<decorator_name> with no parameters to your function, or pass options to @<decorator_name> using keyword arguments (e.g. <example_usage>)." |
| 230 | + ] |
| 231 | + }, |
222 | 232 | "DIFFERENT_PANDAS_DATAFRAME": {
|
223 | 233 | "message": [
|
224 | 234 | "DataFrames are not almost equal:",
|
|
336 | 346 | "<field_name>: <obj> is not an instance of type <data_type>."
|
337 | 347 | ]
|
338 | 348 | },
|
| 349 | + "GRAPH_ELEMENT_DEFINED_OUTSIDE_OF_DECLARATIVE_PIPELINE": { |
| 350 | + "message": [ |
| 351 | + "APIs that define elements of a declarative pipeline can only be invoked within the context of defining a pipeline." |
| 352 | + ] |
| 353 | + }, |
339 | 354 | "HIGHER_ORDER_FUNCTION_SHOULD_RETURN_COLUMN": {
|
340 | 355 | "message": [
|
341 | 356 | "Function `<func_name>` should return Column, got <return_type>."
|
|
552 | 567 | "Mixed type replacements are not supported."
|
553 | 568 | ]
|
554 | 569 | },
|
| 570 | + "MULTIPLE_PIPELINE_SPEC_FILES_FOUND": { |
| 571 | + "message": [ |
| 572 | + "Multiple pipeline spec files found in the directory `<dir_path>`. Please remove one or choose a particular one with the --spec argument." |
| 573 | + ] |
| 574 | + }, |
555 | 575 | "NEGATIVE_VALUE": {
|
556 | 576 | "message": [
|
557 | 577 | "Value for `<arg_name>` must be greater than or equal to 0, got '<arg_value>'."
|
|
839 | 859 | "The Pandas SCALAR_ITER UDF outputs more rows than input rows."
|
840 | 860 | ]
|
841 | 861 | },
|
| 862 | + "PIPELINE_SPEC_DICT_KEY_NOT_STRING": { |
| 863 | + "message": [ |
| 864 | + "For pipeline spec field `<field_name>`, key should be a string, got <key_type>." |
| 865 | + ] |
| 866 | + }, |
| 867 | + "PIPELINE_SPEC_DICT_VALUE_NOT_STRING": { |
| 868 | + "message": [ |
| 869 | + "For pipeline spec field `<field_name>`, value for key `<key_name>` should be a string, got <value_type>." |
| 870 | + ] |
| 871 | + }, |
| 872 | + "PIPELINE_SPEC_FIELD_NOT_DICT": { |
| 873 | + "message": [ |
| 874 | + "Pipeline spec field `<field_name>` should be a dict, got <field_type>." |
| 875 | + ] |
| 876 | + }, |
| 877 | + "PIPELINE_SPEC_FILE_DOES_NOT_EXIST": { |
| 878 | + "message": [ |
| 879 | + "The pipeline spec file `<spec_path>` does not exist." |
| 880 | + ] |
| 881 | + }, |
| 882 | + "PIPELINE_SPEC_FILE_NOT_FOUND": { |
| 883 | + "message": [ |
| 884 | + "No pipeline.yaml or pipeline.yml file provided in arguments or found in directory `<dir_path>` or readable ancestor directories." |
| 885 | + ] |
| 886 | + }, |
| 887 | + "PIPELINE_SPEC_UNEXPECTED_FIELD": { |
| 888 | + "message": [ |
| 889 | + "Pipeline spec field `<field_name>` is unexpected." |
| 890 | + ] |
| 891 | + }, |
| 892 | + "PIPELINE_UNSUPPORTED_DEFINITIONS_FILE_EXTENSION": { |
| 893 | + "message": [ |
| 894 | + "Pipeline definitions file `<file_path>` has an unsupported extension. Supported extensions are `.py` and `.sql`." |
| 895 | + ] |
| 896 | + }, |
842 | 897 | "PIPE_FUNCTION_EXITED": {
|
843 | 898 | "message": [
|
844 | 899 | "Pipe function `<func_name>` exited with error code <error_code>."
|
|
1145 | 1200 | "Pie plot requires either a `y` column or `subplots=True`."
|
1146 | 1201 | ]
|
1147 | 1202 | },
|
| 1203 | + "UNSUPPORTED_PIPELINES_DATASET_TYPE": { |
| 1204 | + "message": [ |
| 1205 | + "Unsupported pipelines dataset type: <dataset_type>." |
| 1206 | + ] |
| 1207 | + }, |
1148 | 1208 | "UNSUPPORTED_PLOT_BACKEND": {
|
1149 | 1209 | "message": [
|
1150 | 1210 | "`<backend>` is not supported, it should be one of the values from <supported_backends>"
|
|
0 commit comments