Code Monkey home page Code Monkey logo

Comments (18)

mujohiddin avatar mujohiddin commented on May 25, 2024

@mistercrunch
@villebro
@michael-s-molina
@betodealmeida

Can you help me, I have not been able to solve it for several weeks

from superset.

mujohiddin avatar mujohiddin commented on May 25, 2024

I faced this problem with superset oracle connection. There is a connection with oracle and there is data, but there is this error in the filter, this process happened after connecting to oracle postres, this problem is not there, because it is the superset settings or the queries are wrong?

from superset.

michael-s-molina avatar michael-s-molina commented on May 25, 2024

Hi @mujohiddin. Oracle does not support GROUP BY 1. I believe you are using a virtual dataset? If that's the case, just replace GROUP BY 1 with GROUP BY "CODE".

from superset.

mujohiddin avatar mujohiddin commented on May 25, 2024

@michael-s-molina
but 5 months ago version didn't have this error, I got this error when upgrading to new version.

from superset.

mujohiddin avatar mujohiddin commented on May 25, 2024

@michael-s-molina GROUP BY 1 with GROUP BY "CODE".
I could not find this part, can you tell me where to replace it

from superset.

michael-s-molina avatar michael-s-molina commented on May 25, 2024

I could not find this part, can you tell me where to replace it

1 - Go to the filter configuration
2 - Check what's the dataset that's being used for the filter
3 - Go to the datasets list and check if that dataset is a virtual dataset
4 - If it is, you can edit its query

from superset.

mujohiddin avatar mujohiddin commented on May 25, 2024

@michael-s-molina ,
I followed the steps what you suggested, but there problem is not in the dataset. The above query was generated by Superset itself on filter pane. I think issue is with SQLA dialect, because the source was change to Postgre, it works, since Postgre supports Group BY 1, but Oracle does not. Therefore I am guesing it is due to SQLA dialect on newer version of Superset.

Moreover, I cannot create Table, Pivot charts , they are failling with the same error :
photo_2024-05-03_16-58-19
photo_2024-05-03_16-58-24

from superset.

michael-s-molina avatar michael-s-molina commented on May 25, 2024

The above query was generated by Superset itself on filter pane. I think issue is with SQLA dialect, because the source was change to Postgre, it works, since Postgre supports Group BY 1, but Oracle does not.

@rusackas @betodealmeida Does any of you have an Oracle instance to test this? Or do you know who's the Oracle dialect maintainer?

from superset.

michael-s-molina avatar michael-s-molina commented on May 25, 2024

@mujohiddin Can you also share what was the previous version where this was working?

from superset.

mujohiddin avatar mujohiddin commented on May 25, 2024

@michael-s-molina

  1. I don't remember the exact version, it was about 6 months ago,
    It works successfully with postgre, clickhouse, oracle
  2. The last new superset I installed recently was 1 month before the project
    in this case there is a problem with oracle

from superset.

rusackas avatar rusackas commented on May 25, 2024

Sadly, I don't know of anyone with Oracle. It's still on the wish list in the rolodex, if anyone on this thread would be kind enough to sign up.

from superset.

mujohiddin avatar mujohiddin commented on May 25, 2024

photo_2024-05-06_10-52-19
how can i detect the old superset version, 0.0.dev is the same in the interface

@mistercrunch
@villebro
@michael-s-molina
@betodealmeida
@john-bodley

from superset.

RavshanbekXB avatar RavshanbekXB commented on May 25, 2024

I have also faced this issue with Oracle,
any updates @rusackas , @michael-s-molina , @mistercrunch ?
Any workaround applied ? @mujohiddin

from superset.

mujohiddin avatar mujohiddin commented on May 25, 2024

i have old version working with oracle but i have problems in new version, do i need to add some parts from old version or some scprits? exactly in which python file or class is this generation process taking place. If you tell me that, I will send it to you, and we will compare the status of the two versions

@mistercrunch
@villebro
@michael-s-molina
@betodealmeida
@john-bodley
@rusackas

from superset.

mujohiddin avatar mujohiddin commented on May 25, 2024

I have also faced this issue with Oracle, any updates @rusackas , @michael-s-molina , @mistercrunch ? Any workaround applied ? @mujohiddin

No, the solution has not been found yet. I am waiting for a response from contributions

from superset.

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.