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

[VL] Results are mismatch with vanilla Spark, it maybe caused by cast(string as bigint) #4930

Open
kecookier opened this issue Mar 12, 2024 · 0 comments
Labels
bug Something isn't working triage

Comments

@kecookier
Copy link
Contributor

Backend

VL (Velox)

Bug description

The following SQL might lead to wrong results, but it's not yet certain if there are other factors involved.
I will try to reproduce later.

SELECT deal_id,
                       spu_id
                  FROM tableA a LATERAL VIEW explode(split(regexp_replace(spu_list, '\\[|\\]',''),",")) tmp_table AS spu_id
          )a
          LEFT JOIN (
                SELECT cast(spu_id AS bigint) AS spu_id
                  FROM tableB
               )b
            ON a.spu_id = b.spu_id

Spark version

None

Spark configurations

No response

System information

No response

Relevant logs

No response

@kecookier kecookier added bug Something isn't working triage labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

1 participant