-
Notifications
You must be signed in to change notification settings - Fork 645
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
BigQuery API improvements #2663
Conversation
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.
LGTM. Before we merge can you enable the MimaPlugin
for big query and google common? You may need to add some exceptions, but that's fine.
*/ | ||
final case class JobConfiguration(load: Option[JobConfigurationLoad]) { | ||
final case class JobConfiguration(load: Option[JobConfigurationLoad], labels: Option[Map[String, String]]) { |
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.
We could make this constructor private to avoid breaking change, I guess? Not a big deal.
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.
Not sure if that would help? I think we need to add a constructor with the old signature. I should have marked all of these constructors private to begin with...
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.
Let's make it private and just add the MimaException. It won't be bin compat but since you added the factory method it should be code compat for the Scala DSL at least.
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.
Sounds good. While I'm at it, can I mark all the other case class constructors private?
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.
Sounds good.
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.
Done.
I will open a separate PR #2665 to enable MiMa for google-common. |
JobConfiguration
andinsertAllAsync
. Not 100% binary compatible to 3.0.0-M1 because of case class stuff, but if important can probably be fixed?Schema
singleton object to help materialize implicitTableSchema
for a classT