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

SchemasNotEqualError not show more columns in one shcema #36

Open
zhangabner opened this issue Nov 16, 2021 · 1 comment
Open

SchemasNotEqualError not show more columns in one shcema #36

zhangabner opened this issue Nov 16, 2021 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@zhangabner
Copy link

E chispa.dataframe_comparer.SchemasNotEqualError:
E +------------------------------------------+------------------------------------------+
E | schema1 | schema2 |
E +------------------------------------------+------------------------------------------+
E | StructField(second_name,StringType,true) | StructField(second_name,StringType,true) |
E | StructField(id,LongType,true) | StructField(id,LongType,true) |
E | StructField(floor,LongType,true) | StructField(floor,LongType,true) |
E | StructField(first_name,StringType,true) | StructField(first_name,StringType,true) |
E +------------------------------------------+------------------------------------------+
didn't show schema2 has one more column 'age'

@MrPowers MrPowers added help wanted Extra attention is needed good first issue Good for newcomers labels Oct 17, 2022
@orcascope
Copy link
Contributor

I see that the error message shows all the columns in both sides.
e.g.1 - schema2 has age missing
image

e.g.2 - schema1 has id, floor, building and schema2 has id, floor, age, city
image

@MrPowers Can this issue be closed ?

-orcascope (rob)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants