hiveService/src/main/java/com/ge/research/semtk/edc/services/hive/HiveServiceRestController.java
@CrossOrigin
	@RequestMapping(value="/countRows", method= RequestMethod.POST)
	public JSONObject countRows(@RequestBody HiveServiceCountRowsRequestBody requestBody){
		String query = "select count(*) as " + requestBody.table + "_count from " + requestBody.table;
		return runQuery (requestBody, query);
	}
/**
	 * Execute count number of rows of a specific table in Hive
	 */
Execute count number of rows of a specific table in Hive
Execute count number of rows of a specific table in Hive
@CrossOrigin
	@RequestMapping(value="/countRows", method= RequestMethod.POST)
	public JSONObject countRows(@RequestBody HiveServiceCountRowsRequestBody requestBody){
		String query = "select count(*) as " + requestBody.table + "_count from " + requestBody.table;
		return runQuery (requestBody, query);
	}
@ CrossOrigin @ RequestMapping ( value = "/countRows" , method = RequestMethod . POST ) public JSONObject countRows ( @ RequestBody HiveServiceCountRowsRequestBody requestBody ) { String query = "select count(*) as " + requestBody . table + "_count from " + requestBody . table ; return runQuery ( requestBody , query ) ; }
Execute count number of rows of a specific table in Hive
Execute count number of rows of a specific table in Hive