We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
conf
1 parent 5efdf8b commit 258ff8dCopy full SHA for 258ff8d
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala
@@ -851,7 +851,7 @@ private[hive] object HiveClientImpl {
851
hiveTable.setFields(schema.asJava)
852
}
853
hiveTable.setPartCols(partCols.asJava)
854
- hiveTable.setOwner(SessionState.get().getAuthenticator().getUserName())
+ conf.foreach { _ => hiveTable.setOwner(SessionState.get().getAuthenticator().getUserName()) }
855
hiveTable.setCreateTime((table.createTime / 1000).toInt)
856
hiveTable.setLastAccessTime((table.lastAccessTime / 1000).toInt)
857
table.storage.locationUri.map(CatalogUtils.URIToString(_)).foreach { loc =>
0 commit comments