|
219 | 219 | "Unexpected filter <name>."
|
220 | 220 | ]
|
221 | 221 | },
|
| 222 | + "DECORATOR_ARGUMENT_NOT_CALLABLE": { |
| 223 | + "message": [ |
| 224 | + "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>)." |
| 225 | + ] |
| 226 | + }, |
222 | 227 | "DIFFERENT_PANDAS_DATAFRAME": {
|
223 | 228 | "message": [
|
224 | 229 | "DataFrames are not almost equal:",
|
|
447 | 452 | "StructField does not have typeName. Use typeName on its type explicitly instead."
|
448 | 453 | ]
|
449 | 454 | },
|
| 455 | + "GRAPH_ELEMENT_DEFINED_OUTSIDE_OF_DECLARATIVE_PIPELINE": { |
| 456 | + "message": [ |
| 457 | + "APIs that define elements of a declarative pipeline can only be invoked within the context of defining a pipeline." |
| 458 | + ] |
| 459 | + }, |
450 | 460 | "INVALID_TYPE_DF_EQUALITY_ARG": {
|
451 | 461 | "message": [
|
452 | 462 | "Expected type <expected_type> for `<arg_name>` but got type <actual_type>."
|
|
552 | 562 | "Mixed type replacements are not supported."
|
553 | 563 | ]
|
554 | 564 | },
|
| 565 | + "MULTIPLE_PIPELINE_SPEC_FILES_FOUND": { |
| 566 | + "message": [ |
| 567 | + "Multiple pipeline spec files found in the directory `<dir_path>`. Please remove one or choose a particular one with the --spec argument." |
| 568 | + ] |
| 569 | + }, |
555 | 570 | "NEGATIVE_VALUE": {
|
556 | 571 | "message": [
|
557 | 572 | "Value for `<arg_name>` must be greater than or equal to 0, got '<arg_value>'."
|
|
844 | 859 | "Pipe function `<func_name>` exited with error code <error_code>."
|
845 | 860 | ]
|
846 | 861 | },
|
| 862 | + "PIPELINE_SPEC_FIELD_NOT_DICT": { |
| 863 | + "message": [ |
| 864 | + "Pipeline spec field `<field_name>` should be a dict, got <field_type>." |
| 865 | + ] |
| 866 | + }, |
| 867 | + "PIPELINE_SPEC_FILE_DOES_NOT_EXIST": { |
| 868 | + "message": [ |
| 869 | + "The pipeline spec file `<spec_path>` does not exist." |
| 870 | + ] |
| 871 | + }, |
| 872 | + "ATTEMPT_ANALYSIS_IN_PIPELINE_QUERY_FUNCTION": { |
| 873 | + "message": [ |
| 874 | + "Operations that trigger DataFrame analysis or execution are not allowed in pipeline query functions. Move code outside of the pipeline query function." |
| 875 | + ] |
| 876 | + }, |
| 877 | + "PIPELINE_SPEC_FILE_NOT_FOUND": { |
| 878 | + "message": [ |
| 879 | + "No pipeline.json file provided in arguments or found in directory `<dir_path>` or readable ancestor directories." |
| 880 | + ] |
| 881 | + }, |
| 882 | + "PIPELINE_SPEC_DICT_KEY_NOT_STRING": { |
| 883 | + "message": [ |
| 884 | + "For pipeline spec field `<field_name>`, key should be a string, got <key_type>." |
| 885 | + ] |
| 886 | + }, |
| 887 | + "PIPELINE_SPEC_DICT_VALUE_NOT_STRING": { |
| 888 | + "message": [ |
| 889 | + "For pipeline spec field `<field_name>`, value for key `<key_name>` should be a string, got <value_type>." |
| 890 | + ] |
| 891 | + }, |
| 892 | + "PIPELINE_SPEC_UNEXPECTED_FIELD": { |
| 893 | + "message": [ |
| 894 | + "Pipeline spec field `<field_name>` is unexpected." |
| 895 | + ] |
| 896 | + }, |
| 897 | + "PIPELINE_UNSUPPORTED_DEFINITIONS_FILE_EXTENSION": { |
| 898 | + "message": [ |
| 899 | + "Pipeline definitions file `<file_path>` has an unsupported extension. Supported extensions are `.py` and `.sql`." |
| 900 | + ] |
| 901 | + }, |
847 | 902 | "PLOT_INVALID_TYPE_COLUMN": {
|
848 | 903 | "message": [
|
849 | 904 | "Column <col_name> must be one of <valid_types> for plotting, got <col_type>."
|
|
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