'float' 和 'record' 类型的操作数不允许比较

Comparison is not allowed for operands of type 'float' and 'record'

Screenshot problem


我正在尝试使用从 SQL 数据库检索到的参考数据从我的 EventHub 查询某些输入值。有没有办法比较这两个值?我已经尝试过从 record 到 float 的解析,反之亦然,但这是不可能的。

Comparison is not allowed for operands of type 'float' and 'record'....

与您的情况类似:,是您的表达式中的值不匹配造成的。 Float 类型无法与 Record 类型进行比较。

请尝试使用CAST built-in feature to convert the Record into Float