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

Pushdown filter not working with Varchar datatype #464

Open
asethia opened this issue Mar 8, 2022 · 1 comment
Open

Pushdown filter not working with Varchar datatype #464

asethia opened this issue Mar 8, 2022 · 1 comment

Comments

@asethia
Copy link

asethia commented Mar 8, 2022

Hi,

In our code

spark.read
.format("com.databricks.spark.redshift")
.option("url","<<jdbc url>>")
.option("user","user")
.option("password","password")
.option("forward_spark_s3_credentials" -> "true")
.option("tempdir","<<s3 bucket>>")
.option("dbtable","schema.tablename")
.load()
.select("*")
.filter("FIELDNAME='N'")

The physical plan shows PushedFilters: []

Library version: com.databricks:spark-redshift_2.11:2.0.1
Spark Version : 2.4.4

Thanks

@asethia
Copy link
Author

asethia commented Mar 8, 2022

@gpanda70

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