Comments (5)
Did you try to change the data type in Tableau?
from clickhouse-odbc.
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.
Can you show minimal table structure where it can be reproduced ?
from clickhouse-odbc.
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.
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)
- API sqlcancel is not supported
- Tableau + ODBC: Session is locked by a concurrent client. HOT 6
- Exception when trying to insert rows with async_insert=1 setting using pyodbc
- got code SQL_INVALID_HANDLE when SQLGetData called
- segmentation fault (core dumped) when exception happend in SQLExecute
- The driver is obviously wrong
- The driver does not work HOT 4
- Homebrew reports a warning of libc++ incompatibilities upon installation
- Issue using power query in Power Bi
- Wrong number of fields with grouparray via ODBC
- problem in power bi report server schedule refresh
- Convert string to varchar error on mssql linked server
- Mac ODBC build errors - folly HOT 3
- Error "ERROR [HY000] SSL Exception: Error during handshake: failed to read data" on connect HOT 2
- The last working release on Ubuntu 22.04 is 1.1.6
- Incomplete data loaded without errors
- Does the ODBC driver support connecting to materialized views?
- Slowness for workbooks in tableau server
- ODBC: ERROR [HY000] Certificate validation error: Failed to verify certificate chain: CA not trusted
- Clickhouse ODBC Destination SSIS batch size issue. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clickhouse-odbc.