-
Notifications
You must be signed in to change notification settings - Fork 0
fix: properly detect bigquery catalog #629
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
Changes from all commits
eb08cb1
8822ede
7af162a
484368a
7ace96b
527333f
22fae64
b7b44d4
1ba3541
ef6213a
565bdd0
a423261
a22660f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -33,6 +33,6 @@ class GcpFormatProviderTest extends AnyFlatSpec with MockitoSugar { | |||||||
.build()) | ||||||||
when(mockTable.getTableId).thenReturn(TableId.of("project", "dataset", "table")) | ||||||||
|
||||||||
val gcsFormat = gcpFormatProvider.getFormat(mockTable) | ||||||||
val gcsFormat = gcpFormatProvider.readFormat(tableName) | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Method changed but test still ignored. Test was updated to use -val gcsFormat = gcpFormatProvider.readFormat(tableName)
+val gcsFormat = gcpFormatProvider.readFormat(tableName)
+assert(gcsFormat.isDefined, "Format should be detected") 📝 Committable suggestion
Suggested change
|
||||||||
} | ||||||||
} |
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.
💡 Verification agent
🧩 Analysis chain
Missing getCatalog implementation.
Method is called but appears to be missing implementation.
🏁 Script executed:
Length of output: 171
Implement or Inherit getCatalog
The call to
getCatalog
inGcpFormatProvider.scala
(line 23) doesn’t resolve locally. Although a similar method exists inDefaultFormatProvider.scala
, it isn’t automatically available here. Please either inherit from a common base that provides the implementation or add a GCP-specificgetCatalog
method.