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

DM-44937: DiaForcedSource tables indexed by class, not integer #224

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

kfindeisen
Copy link
Member

This PR fixes a bug in which make_empty_catalog did not create an empty catalog and did not convert the input schema to Pandas datatypes.

The previous code was creating a 1-row catalog where none of the
columns were typed.
Copy link
Contributor

@isullivan isullivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, and I can confirm that the empty catalog has type e.g. class 'numpy.float64' before this change and type float64 with it.

@kfindeisen kfindeisen merged commit 50259f2 into main Jun 20, 2024
2 checks passed
@kfindeisen kfindeisen deleted the tickets/DM-44937 branch June 20, 2024 23:33
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

Successfully merging this pull request may close these issues.

None yet

2 participants