[KYUUBI #5105][Bug] getColumns gets duplicate column names when Spark integrates with Iceberg
close #5105
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
- [ ] Add screenshots for manual tests if appropriate
- [ ] [Run test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests) locally before make a pull request
Closes #5128 from lsm1/features/kyuubi_5105.
Closes #5105
84be7fd6d [senmiaoliu] distinct default namespace
Authored-by: senmiaoliu <senmiaoliu@trip.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
(cherry picked from commit 007fc477b7)
Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
parent
ebcc8cadea
commit
902eaf9dbf
@ -110,7 +110,7 @@ class CatalogShim_v3_0 extends CatalogShim_v2_4 {
|
||||
listAllNamespaces(catalog).filter { ns =>
|
||||
val quoted = ns.map(quoteIfNeeded).mkString(".")
|
||||
p.matcher(quoted).matches()
|
||||
}.distinct
|
||||
}.map(_.toList).toList.distinct.map(_.toArray).toArray
|
||||
}
|
||||
|
||||
private def getSchemasWithPattern(catalog: CatalogPlugin, schemaPattern: String): Seq[String] = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user