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 with the number of Rows of a table in the Spark UI #522

Open
jbergeroncoveo opened this issue Aug 30, 2023 · 0 comments
Open

Bug with the number of Rows of a table in the Spark UI #522

jbergeroncoveo opened this issue Aug 30, 2023 · 0 comments

Comments

@jbergeroncoveo
Copy link

I have a minor bug where I see that the number of rows of a table is doubled in the spark UI. To reproduce, simply create a snowflake table with any number of rows, then, with a spark session do the following:

val dataframe = spark
    .read
    .format(SNOWFLAKE_SOURCE_NAME)
    .options(...)
    .load()

dataframe.orderBy(rand()).collect()

If you look at the spark UI in the SQL / Dataframe tab and go into the latest collect row, you should see that the number of rows shown is doubled.

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