Skip to content

Commit 9412d24

Browse files
committed
address review comments
1 parent f4af934 commit 9412d24

File tree

2 files changed

+2
-2
lines changed
  • sql/hive

2 files changed

+2
-2
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/hiveUdfs.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ import org.apache.spark.sql.catalyst.analysis
2828
import org.apache.spark.sql.catalyst.expressions._
2929
import org.apache.spark.sql.catalyst.types._
3030
import org.apache.spark.util.Utils.getContextOrSparkClassLoader
31+
import org.apache.spark.sql.hive.HiveShim
3132

3233
/* Implicit conversions */
3334
import scala.collection.JavaConversions._
34-
import org.apache.spark.sql.hive.HiveShim
3535

3636
private[hive] abstract class HiveFunctionRegistry
3737
extends analysis.FunctionRegistry with HiveInspectors {

sql/hive/v0.12.0/src/main/scala/org/apache/spark/sql/hive/Shim.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ object HiveShim {
4949
/*handle the difference in "None" and empty ""*/
5050
def getEmptyCommentsFieldValue = "None"
5151

52-
def convertCatalystString2Hive(s: String) = new hadoopIo.Text(s)
52+
def convertCatalystString2Hive(s: String) = new hadoopIo.Text(s) // TODO why should be Text?
5353

5454
def getCommandProcessor(cmd: Array[String], conf: HiveConf) = {
5555
CommandProcessorFactory.get(cmd(0), conf)

0 commit comments

Comments
 (0)