question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug of filter when operating with dremio

See original GitHub issue

there is a bug when having a boolean filter be applied in Dremio dataset. after you selected True or False in boolean filter, then click apply button, will throw exception.

image

image

A clear and concise description of what the bug is.

How to reproduce the bug

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Expected results

what you expected to happen.

Actual results

what actually happens.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

(please complete the following information):

  • browser type and version:
  • superset version: superset version
  • python version: python --version
  • node.js version: node -v
  • any feature flags active:

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven’t found one similar.

Additional context

Add any other context about the problem here.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
zhaoyongjiecommented, Mar 8, 2022

@geido @niyouzhu refer from Dremio Document: https://docs.dremio.com/software/sql-reference/sql-functions/functions/istrue/?parent=boolean

There is a workaround for this case.

  1. create a derived column(calculated column in Superset). the new derived column type is an integer.
CASE
  when ISTRUE(IsDeleted) then 1
  else 0
END
  1. create a select in FilterBox use the derived column instead of original column.
0reactions
geidocommented, Mar 7, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

MongoDB Filtering Bug? (using Dremio 3.0.0, MongoDB 3.6.8)
I'm running into a weird problem with filtering: I have a collection in MongoDB that contains documents with varying formats.
Read more >
Getting an error decoding a reflection - Dremio Community
I have a further dataset that queries that dataset to filter the data down to this year, and it is crashing due to...
Read more >
Dremio-Native: Row-Access & Column-Masking Policies
Row-access and column-masking policies may be applied to tables, views, and columns via user-defined functions (UDFs). This allows you to filter sensitive ...
Read more >
2.1 Release Notes - Dremio docs
UI doesn't show error when it cannot reach Dremio coordinators ... Filter pushdown issues when using Impala written Parquet files
Read more >
Uncategorized - Dremio
BUG report: CURRENT_SCHEMA returned extra double-quote when the current schema contains special ... Should we develop a dremio connector using ARP?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found