String error = StrictChecks.checkCartesian(conf); if (error != null) throw new SemanticException(error);
String error = StrictChecks.checkNoLimit(conf); if (error != null) { throw new SemanticException(SemanticAnalyzer.generateErrorMessage(obAST, error));
String error = StrictChecks.checkNoPartitionFilter(conf); if (error != null) { throw new SemanticException(error + " No partition predicate for Alias \""
public static String checkNoLimit(Configuration conf) { return isAllowed(conf, ConfVars.HIVE_STRICT_CHECKS_ORDERBY_NO_LIMIT) ? null : NO_LIMIT_MSG; }
public static String checkCartesian(Configuration conf) { return isAllowed(conf, ConfVars.HIVE_STRICT_CHECKS_CARTESIAN) ? null : NO_CARTESIAN_MSG; }
public static String checkBucketing(Configuration conf) { return isAllowed(conf, ConfVars.HIVE_STRICT_CHECKS_BUCKETING) ? null : NO_BUCKETING_MSG; }
public static String checkTypeSafety(Configuration conf) { return isAllowed(conf, ConfVars.HIVE_STRICT_CHECKS_TYPE_SAFETY) ? null : NO_COMPARES_MSG; }
public static String checkNoPartitionFilter(Configuration conf) { return isAllowed(conf, ConfVars.HIVE_STRICT_CHECKS_NO_PARTITION_FILTER) ? null : NO_PARTITIONLESS_MSG; }
String error = StrictChecks.checkNoLimit(conf); if (error != null) { throw new SemanticException(SemanticAnalyzer.generateErrorMessage(obAST, error));
String error = StrictChecks.checkNoLimit(conf); if (error != null) { throw new SemanticException(SemanticAnalyzer.generateErrorMessage(obAST, error));
String error = StrictChecks.checkBucketing(conf); if (error != null) throw new SemanticException("Please load into an intermediate table" + " and use 'insert... select' to allow Hive to enforce bucketing. " + error);
String error = StrictChecks.checkBucketing(conf); if (error != null) {
String error = StrictChecks.checkCartesian(hiveConf); if (error != null) throw new SemanticException(error);
String error = StrictChecks.checkNoLimit(hiveConf); if (error != null) throw new SemanticException(error);
String error = StrictChecks.checkNoLimit(conf); if (error != null) { throw new SemanticException(generateErrorMessage(sortExprs, error));
String error = StrictChecks.checkTypeSafety(conf); if (error != null) throw new UDFArgumentException(error); console.printError("WARNING: Comparing a bigint and a string may result in a loss of precision."); } else if ((oiTypeInfo0.equals(TypeInfoFactory.doubleTypeInfo) && oiTypeInfo1.equals(TypeInfoFactory.longTypeInfo)) || (oiTypeInfo0.equals(TypeInfoFactory.longTypeInfo) && oiTypeInfo1.equals(TypeInfoFactory.doubleTypeInfo))) { String error = StrictChecks.checkTypeSafety(conf); if (error != null) throw new UDFArgumentException(error); console.printError("WARNING: Comparing a bigint and a double may result in a loss of precision.");
String error = StrictChecks.checkNoLimit(hiveConf); if (error != null) throw new SemanticException(error);
String error = StrictChecks.checkNoLimit(conf); if (error != null) { throw new SemanticException(generateErrorMessage(sortExprs, error));
String error = StrictChecks.checkCartesian(conf); if (error != null) { throw new SemanticException(error);
String error = StrictChecks.checkNoPartitionFilter(conf); if (error != null) { throw new SemanticException(error + " No partition predicate for Alias \""