-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
destination-mysql: convert prod code to kotlin #40553
destination-mysql: convert prod code to kotlin #40553
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't look at the actual java<>kotlin conversion, but had some questions about the other files
@@ -11,6 +11,7 @@ | |||
import io.airbyte.cdk.integrations.base.spec_modification.SpecModifyingDestination; | |||
import io.airbyte.commons.json.Jsons; | |||
import io.airbyte.protocol.models.v0.ConnectorSpecification; | |||
import io.airbyte.integrations.destination.mysql.MySQLDestination; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are these new imports necessary?
@@ -11,6 +11,6 @@ import org.testcontainers.utility.DockerImageName | |||
/** Much like the destination-postgres PostgresTestDatabase, this was copied from source-mysql. */ | |||
class MySQLContainerFactory : ContainerFactory<MySQLContainer<*>>() { | |||
override fun createNewContainer(imageName: DockerImageName?): MySQLContainer<*> { | |||
return MySQLContainer(imageName?.asCompatibleSubstituteFor("mysql")) | |||
return MySQLContainer(imageName?.asCompatibleSubstituteFor("io/airbyte/integrations/destination/mysql")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this? afaict mysql
is meant to be a docker image name, not a java package name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some stupid refactoring coming from me moving files into the kotlin directory... Thank you for noticing it
c396f63
to
17caebf
Compare
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @stephane-airbyte and the rest of your teammates on |
8ba9753
to
5a961e1
Compare
5a961e1
to
4d53da7
Compare
4d53da7
to
c6f78e4
Compare
Merge activity
|
## What <!-- * Describe what the change is solving. Link all GitHub issues related to this change. --> ## How <!-- * Describe how code changes achieve the solution. --> ## Review guide <!-- 1. `x.py` 2. `y.py` --> ## User Impact <!-- * What is the end result perceived by the user? * If there are negative side effects, please list them. --> ## Can this PR be safely reverted and rolled back? <!-- * If unsure, leave it blank. --> - [ ] YES π - [ ] NO β
What
How
Review guide
User Impact
Can this PR be safely reverted and rolled back?