S02057
Error Code
S02057
Error Message
The 'kendall' function is not allowed in a distributed query. RefId:
S02057
Probable Causes
This error occurs when using the
kendall
function in a DFS query.
For example:dbName = "dfs://test"
if (existsDatabase(dbName)) {
dropDatabase(dbName)
}
t = table(2023.01.01..2023.01.03 as tradeDate, 1..3 as val)
db = database(dbName, VALUE, 2023.01.01..2023.01.03)
pt = db.createPartitionedTable(t, `pt, `tradeDate)
pt.append!(t)
select kendall(val, val) from pt => The 'kendall' function is not allowed in a distributed query.
Solutions
Modify the query to avoid using the kendall
function in a DFS
query.