獲取表頭信息

sparksql中獲取表頭信息 方法一: 可以使用  describe table;   方法二: 先 SET hive.cli.print.header=true;   然後 select * from table limit 0;   代碼中的使用直接通過list<Map<String,Object>> tableHead = jdbcBaseDao.getBackSimpleJdbcTemp
相關文章
相關標籤/搜索