We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20f6cf7 commit cb22863Copy full SHA for cb22863
sql/hive/v0.13.1/src/main/scala/org/apache/spark/sql/hive/Shim.scala
@@ -100,7 +100,7 @@ private[hive] object HiveShim {
100
if (ids != null && ids.size > 0) {
101
ColumnProjectionUtils.appendReadColumns(conf, ids)
102
}
103
- if (names == null && names.size > 0) {
+ if (names != null && names.size > 0) {
104
appendReadColumnNames(conf, names)
105
106
0 commit comments