Skip to content

Add df.convertTo(schemaFrom) overload #764

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

Merged
merged 1 commit into from
Jul 5, 2024
Merged

Add df.convertTo(schemaFrom) overload #764

merged 1 commit into from
Jul 5, 2024

Conversation

koperagen
Copy link
Collaborator

New castTo proven to be useful. PR extends it + better parameter name
#747

@koperagen koperagen added the enhancement New feature or request label Jul 3, 2024
@koperagen koperagen added this to the 0.14.0 milestone Jul 3, 2024
@koperagen koperagen requested a review from zaleslaw July 3, 2024 14:56
@koperagen koperagen self-assigned this Jul 3, 2024
@@ -161,6 +161,43 @@ public inline fun <reified T : Any> AnyFrame.convertTo(
noinline body: ConvertSchemaDsl<T>.() -> Unit = {}
): DataFrame<T> = convertToImpl(typeOf<T>(), true, excessiveColumnsBehavior, body).cast()

/**
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

just copy-pasted it from existing function

Copy link
Contributor

github-actions bot commented Jul 3, 2024

Generated sources will be updated after merging this PR.
Please inspect the changes in here.

1 similar comment
Copy link
Contributor

github-actions bot commented Jul 3, 2024

Generated sources will be updated after merging this PR.
Please inspect the changes in here.

@koperagen koperagen merged commit c4c028c into master Jul 5, 2024
6 checks passed
@Jolanrensen Jolanrensen deleted the convert-to-from branch July 23, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants