File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/main/java/org/apache/sysds/parser Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2011,7 +2011,7 @@ else if(this.getOpCode() == Builtins.MAX_POOL || this.getOpCode() == Builtins.AV
20112011 output .setValueType (id .getValueType ());
20122012 }
20132013 else
2014- raiseValidateError ("Compress/DeCompress instruction not allowed in dml script " );
2014+ raiseValidateError ("The compress or decompress instruction is not allowed in dml scripts " );
20152015 break ;
20162016 case QUANTIZE_COMPRESS :
20172017 if (OptimizerUtils .ALLOW_SCRIPT_LEVEL_QUANTIZE_COMPRESS_COMMAND ) {
@@ -2039,6 +2039,8 @@ else if(this.getOpCode() == Builtins.MAX_POOL || this.getOpCode() == Builtins.AV
20392039 }
20402040 }
20412041 }
2042+ else
2043+ raiseValidateError ("The quantize_compress instruction not allowed in dml scripts" );
20422044 break ;
20432045
20442046 case ROW_COUNT_DISTINCT :
You can’t perform that action at this time.
0 commit comments