Giter VIP home page Giter VIP logo

Comments (5)

aadim avatar aadim commented on July 1, 2024

Did you try to change the data type in Tableau?

from clickhouse-odbc.

TH-HA avatar TH-HA commented on July 1, 2024

Hello ,
Sorry for the late answer.
Yes i 've tried to change it into tableau.
But as a string data type is returned , it's not straightforward
not complex either , you have to create a computed field which is parsing the date but it's not working as tableau is trying to convert the string field into timestamp using SQL statement.

but in any case it make things more complex ( typically you have to manage timezone if both place tableau and CH ) and really less efficient as filtering capabilities of CH are not used.

Regards

from clickhouse-odbc.

proller avatar proller commented on July 1, 2024

Can you show minimal table structure where it can be reproduced ?

from clickhouse-odbc.

TH-HA avatar TH-HA commented on July 1, 2024

I don't know if it's relevant but to share a sample with you i 've done the following test :
using "select now()" works fine into tableau , looking at the datatype ( "select toTypeName(now())" ) return a simple "DateTime".
When doing the same with my view ( i have the same issue with the table by the way ) , return a DateTime with timezone ( select toTypeName(date_time) from demo.geotweethour limit 1 return DateTime('Zulu') ).
Can it be the introduction of TimeZone which is breaking the compatibility with ODBC ?

The view structure is the following :
CREATE VIEW demo.geotweethour (
date_time DateTime('Zulu'),
id UInt64,
longitude Float64,
latitude Float64
) AS
SELECT
date_time,
uniqCombinedMerge(id) AS id,
longitude,
latitude
FROM
demo.tweethour
GROUP BY
date_time,
longitude,
latitude

from clickhouse-odbc.

TH-HA avatar TH-HA commented on July 1, 2024

I've switched to the latest version of the drivers and server version 18.14.9 and it seems to work fine now.
Thanks for the support ( on this issue and other one on the function mapping ) .
Regards

from clickhouse-odbc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.