union operator does not work with isfuzzy=true

%3CLINGO-SUB%20id%3D%22lingo-sub-204002%22%20slang%3D%22en-US%22%3Eunion%20operator%20does%20not%20work%20with%20isfuzzy%3Dtrue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-204002%22%20slang%3D%22en-US%22%3E%3CP%3EAccording%20to%20the%20documentation%20(%3CEM%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.loganalytics.io%2Fdocs%2FLanguage-Reference%2FTabular-operators%2Funion-operato%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.loganalytics.io%2Fdocs%2FLanguage-Reference%2FTabular-operators%2Funion-operato%3C%2FA%3E%3C%2FEM%3Er)%20when%20setting%20%3CSTRONG%3Eisfuzzy%3Dtrue%3C%2FSTRONG%3E%22%3CSPAN%3Emeans%20that%20query%20execution%20will%20continue%20even%20if%20the%20underlying%20table%20or%20view%20reference%20is%20not%20present%2C%20yielding%20a%20warning%20in%20the%20query%20status%20results%20(one%20for%20each%20missing%20reference)%22.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CBR%20%2F%3EThis%20does%20not%20work.%20The%20query%20result%20is%20always%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EThe%20query%20was%20aborted%20by%20the%20server.%20Details%3A%20'where'%20operator%3A%20Failed%20to%20resolve%20table%20or%20column%20expression%20named..%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EYou%20can%20simply%20try%20this%20out%20by%20using%20the%20example%20from%20the%20documentation%20page%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3Elet%20View_1%20%3D%20view%20()%20%3C%2FSPAN%3E%3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%3CDIV%3E%3CSPAN%3E(View_1%20%7C%20%3C%2FSPAN%3E%3CSPAN%3Ewhere%3C%2FSPAN%3E%3CSPAN%3Ex%20%26gt%3B%20%3C%2FSPAN%3E%3CSPAN%3E0%3C%2FSPAN%3E%3CSPAN%3E)%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E(View_2%20%7C%20%3C%2FSPAN%3E%3CSPAN%3Ewhere%3C%2FSPAN%3E%3CSPAN%3Ex%20%26gt%3B%20%3C%2FSPAN%3E%3CSPAN%3E0%3C%2FSPAN%3E%3CSPAN%3E)%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E(View_3%20%7C%20%3C%2FSPAN%3E%3CSPAN%3Ewhere%3C%2FSPAN%3E%3CSPAN%3Ex%20%26gt%3B%20%3C%2FSPAN%3E%3CSPAN%3E0%3C%2FSPAN%3E%3CSPAN%3E)%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%7C%20%3C%2FSPAN%3E%3CSPAN%3Ecount%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EDoes%20anyone%20know%20if%20this%20is%20a%20documentation%20or%20implementation%20problem%20%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3Etnx%20%2F%2Femil%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20979px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F35972iED4376E185EE5158%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22isfuzzy.PNG%22%20title%3D%22isfuzzy.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-204002%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Log%20Analytics%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

According to the documentation (https://docs.loganalytics.io/docs/Language-Reference/Tabular-operators/union-operator) when setting isfuzzy=true "means that query execution will continue even if the underlying table or view reference is not present, yielding a warning in the query status results (one for each missing reference)".


This does not work. The query result is always:

 

  • The query was aborted by the server. Details: 'where' operator: Failed to resolve table or column expression named..

 

You can simply try this out by using the example from the documentation page:

 

let View_1 = view () { range x from 1 to 1 step 1 };
let View_2 = view () { range x from 1 to 1 step 1 };
let OtherView_1 = view () { range x from 1 to 1 step 1 };
union isfuzzy=true
(View_1 | where x > 0),
(View_2 | where x > 0),
(View_3 | where x > 0)
| count

 

Does anyone know if this is a documentation or implementation problem ?

 

tnx //emilisfuzzy.PNG

 

 

0 Replies