File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -408,13 +408,19 @@ def finalize_query_data_model(
408408 "No data model specified by processing pipeline"
409409 )
410410
411- try :
412- data_set = data_model_set .split ("." )[1 ]
413- except IndexError :
411+ if not data_model_set :
414412 raise SigmaFeatureNotSupportedByBackendError (
415413 "No data set specified by processing pipeline"
416414 )
417415
416+ if "." in data_model_set :
417+ parts = data_model_set .split ("." )
418+ if len (parts ) != 2 or not all (parts ):
419+ raise SigmaFeatureNotSupportedByBackendError (
420+ "Expected format 'data_model.data_set', but got: {}" .format (data_model_set )
421+ )
422+ data_set = parts [1 ]
423+
418424 try :
419425 fields = " " .join (state .processing_state ["fields" ])
420426 except KeyError :
You can’t perform that action at this time.
0 commit comments