hiveService/src/main/java/com/ge/research/semtk/edc/services/hive/HiveServiceRestController.java
@CrossOrigin
	@RequestMapping(value="/queryHiveSync", method= RequestMethod.POST)
	public JSONObject queryHiveSync(@RequestBody DatabaseQueryRequest requestBody){
		long startTimeMillis = System.currentTimeMillis();
		String query = requestBody.query;
		JSONObject ret =  runQuery(requestBody, query, false);
		LocalLogger.logToStdOut(SERVICE_NAME + " queryHiveSync completed in " + Utility.getSecondsSince(startTimeMillis) + " sec for query " + query);
		return ret;
	}
/**
	 * Execute arbitrary query in Hive.  
	 * Returns the query results (not a job id).
	 */
Execute arbitrary query in Hive.
Returns the query results (not a job id).
Execute arbitrary query in Hive . Returns the query results ( not a job id ) .
@CrossOrigin
	@RequestMapping(value="/queryHiveSync", method= RequestMethod.POST)
	public JSONObject queryHiveSync(@RequestBody DatabaseQueryRequest requestBody){
		long startTimeMillis = System.currentTimeMillis();
		String query = requestBody.query;
		JSONObject ret =  runQuery(requestBody, query, false);
		LocalLogger.logToStdOut(SERVICE_NAME + " queryHiveSync completed in " + Utility.getSecondsSince(startTimeMillis) + " sec for query " + query);
		return ret;
	}
@ CrossOrigin @ RequestMapping ( value = "/queryHiveSync" , method = RequestMethod . POST ) public JSONObject queryHiveSync ( @ RequestBody DatabaseQueryRequest requestBody ) { long startTimeMillis = System . currentTimeMillis ( ) ; String query = requestBody . query ; JSONObject ret = runQuery ( requestBody , query , false ) ; LocalLogger . logToStdOut ( SERVICE_NAME + " queryHiveSync completed in " + Utility . getSecondsSince ( startTimeMillis ) + " sec for query " + query ) ; return ret ; }
Execute arbitrary query in Hive.
Execute arbitrary query in Hive .