We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7af902 commit 503d307Copy full SHA for 503d307
windowing/src/main/java/com/sap/hadoop/windowing/query2/translate/OutputTranslation.java
@@ -57,7 +57,7 @@ public static void validateOutputSpec(QueryDef qDef) throws WindowingException
57
QueryOutputSpec spec = qDef.getSpec().getOutput();
58
59
// ensure outputPath is specified. It is optional in grammar because it is not required in Hive mode.
60
- if ( spec.getPath() == null )
+ if ( spec == null || spec.getPath() == null )
61
{
62
throw new WindowingException("Query doesn't contain an output Path for results");
63
}
0 commit comments