You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/06/30 14:31:43 UTC

[GitHub] [superset] asafcombo opened a new issue #15476: [Clickhouse] No Field Class

asafcombo opened a new issue #15476:
URL: https://github.com/apache/superset/issues/15476


   When selecting on a table with fields of non standard type, a 
   
   `No Field Class of <TYPE>`   error is displayed.
   
   This happens with 'simple' types such as tuples  or with more complex types as:
   
   `SimpleAggregateFunction(sum, UInt64)`
   
   or 
   
   `AggregateFunction(uniq, String)`
   
   Currently the workaround is to manually CAST the field into its proper type. 
   
   A more elegant solution would be that superset would cast it by the type automatically. 
   
   So for a column such as 
   
   ```
       `count`                             SimpleAggregateFunction(sum, UInt64) 
   ```
   
   superset should understand the type is Uint64 and do 
   
   `CAST(count as Uint64)`
   
   
   For tuples the only method I found was to cast it as String
   
   
   related to https://github.com/apache/superset/issues/14445
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] asafcombo commented on issue #15476: [Clickhouse] No Field Class

Posted by GitBox <gi...@apache.org>.
asafcombo commented on issue #15476:
URL: https://github.com/apache/superset/issues/15476#issuecomment-899389461


   I can confirm that according to my testing the latest "git+https://github.com/xzkostyan/clickhouse-sqlalchemy.git"  is sufficient to fix the error. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] Slach commented on issue #15476: [Clickhouse] No Field Class

Posted by GitBox <gi...@apache.org>.
Slach commented on issue #15476:
URL: https://github.com/apache/superset/issues/15476#issuecomment-897826463


   look like `latest` superset + latest clickhouse-sqlalchemy already resolve `issue`
   
   ![image](https://user-images.githubusercontent.com/105560/129240388-7bde5194-c762-487a-bbc0-ffce07bfb247.png)
   
   @asafcombo could you check 1.2.0 version with your data
   https://gist.github.com/Slach/ad926dfa30ceb4fe1d168c00c3da98e0?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] Slach commented on issue #15476: [Clickhouse] No Field Class

Posted by GitBox <gi...@apache.org>.
Slach commented on issue #15476:
URL: https://github.com/apache/superset/issues/15476#issuecomment-900061163


   @junlincc could we close this issue?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org