Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug using union #22

Open
yanmendes opened this issue Aug 2, 2020 · 0 comments
Open

Bug using union #22

yanmendes opened this issue Aug 2, 2020 · 0 comments

Comments

@yanmendes
Copy link

I have added my own data to BigDAWG, however, it's not processing unions correctly.

Issuing query via BigDAWG's interface:

curl --request POST \
  --url http://localhost:8080/bigdawg/query \
  --header 'content-type: application/json' \
  --data 'bdrel(
  select
    *
  from
    (
      select
        duration::char
      from
        (
          SELECT
            app_exec_id as execution_id,
            start_time as prov_startedAtTime,
            script_run_id as provone_hadPlan,
            duration
          FROM
            app_exec
        ) as table_7
    ) as t1
    union (
      select
        (prov_endedAtTime - prov_startedAtTime) :: char as d2
      from
        (
          SELECT
            af.id as execution_id,
            af.start_time as prov_startedAtTime,
            af.end_time as prov_endedAtTime,
            af.wf_exec_id as provone_wasPartOf
          FROM
            actor_fire as af
        ) as table_0
    )
)'

net.sf.jsqlparser.statement.select.SetOperationList cannot be cast to net.sf.jsqlparser.statement.select.PlainSelect

If you need a reproducible environment, just follow the installation steps here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant