java.sql.SQLException

org.apache.spark.sql.AnalysisException: cannot recognize input near 'TEXT' ',' 'last_name' in column type; line 1 pos

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web9015

  • via Stack Overflow by JP-SD
    , 9 months ago
    org.apache.spark.sql.AnalysisException: cannot recognize input near 'TEXT' ',' 'last_name' in column type; line 1 pos
  • org.apache.spark.sql.AnalysisException: cannot resolve 'indexed_1' given input columns: [stored_1, stored_2]; line 1 pos 27
  • Error while compiling statement: FAILED: ParseException line 1:4 cannot recognize input near 'show' '<EOF>' '<EOF>' in ddl statement
  • Stack trace

    • java.sql.SQLException: org.apache.spark.sql.AnalysisException: cannot recognize input near 'TEXT' ',' 'last_name' in column type; line 1 pos at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:296) at org.apache.hive.jdbc.HiveStatement.executeUpdate(HiveStatement.java:406) at org.apache.hive.jdbc.HivePreparedStatement.executeUpdate(HivePreparedStatement.java:119) at org.apache.spark.sql.DataFrameWriter.jdbc(DataFrameWriter.scala:275) at org.apache.spark.sql.DataFrame.insertIntoJDBC(DataFrame.scala:1629)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    8 times, 3 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    6 more bugmates