When I work with druid jdbc in tableau I get the following error.
Tableau calculated field :
DATEDIFF(‘day’, [Date Id], NOW())
Resut :
Remote driver error: RuntimeException: java.lang.NoSuchFieldError: NANOSECOND -> NoSuchFieldError: NANOSECOND
SELECT
SUM({fn TIMESTAMPDIFF(SQL_TSI_DAY,CAST(“test”.“date_id” AS DATE),CURRENT_TIMESTAMP)}) AS “sum_Calculation_1459799647984721925_ok”
,SUM(“test”.“count”) AS “sum_count_ok”, CAST(CURRENT_TIMESTAMP AS DATE) AS “tdy_Calculation_518828802899611648_ok”
FROM “druid”.“test” “test”
HAVING (COUNT(1) > 0)
How can I avoid the problem?