我们正在尝试通过spring boot连接hive数据库,我能够连接到hive数据库但是在执行sql语句时,我们得到的表是找不到表,实际上表存在
Entity class is defined as below
@Entity
@Table(name = "site_text", schema = "text_data")
public class Plants implements Serializable {
@Id
@Column(name = "site_text")
private String siteName;
}
Error as below-----
org.apache.hadoop.hive.ql.parse.SemanticException: Line 1:63 Table not found 'plants_text'