The following document contains the results of FindBugs
FindBugs Version is 3.0.0
Threshold is medium
Effort is min
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Bad attempt to compute absolute value of signed random integer in org.apache.hadoop.hive.ql.Context.generateExecutionId() | CORRECTNESS | RV_ABSOLUTE_VALUE_OF_RANDOM_INT | 593 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.Driver.getExplainOutput(BaseSemanticAnalyzer, QueryPlan, String): java.io.ByteArrayOutputStream.toString() | I18N | DM_DEFAULT_ENCODING | 536 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.Driver.getExplainOutput(BaseSemanticAnalyzer, QueryPlan, String): new java.io.PrintStream(OutputStream) | I18N | DM_DEFAULT_ENCODING | 532 | High |
| org.apache.hadoop.hive.ql.Driver.getResults(List) invokes inefficient new String() constructor | PERFORMANCE | DM_STRING_VOID_CTOR | 1688 | Medium |
| Redundant nullcheck of org.apache.hadoop.hive.ql.Driver.acidSinks, which is known to be non-null in org.apache.hadoop.hive.ql.Driver.acquireLocksAndOpenTxn() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 978 | Medium |
| Redundant nullcheck of saHooks, which is known to be non-null in org.apache.hadoop.hive.ql.Driver.compile(String, boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 416 | Medium |
| org.apache.hadoop.hive.ql.Driver.getLockObjects(Database, Table, Partition, HiveLockMode) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 915 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.QueryPlan.toBinaryString(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 629 | High |
| Class org.apache.hadoop.hive.ql.QueryPlan defines non-transient non-serializable instance field columnAccessInfo | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.QueryPlan defines non-transient non-serializable instance field queryProperties | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.QueryPlan defines non-transient non-serializable instance field reducerTimeStatsPerJobList | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.QueryPlan defines non-transient non-serializable instance field tableAccessInfo | BAD_PRACTICE | SE_BAD_FIELD | High | |
| The field org.apache.hadoop.hive.ql.QueryPlan.queryStartTime is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| Format-string method String.format(String, Object[]) called with format string "%1$4d%2$02d%3$02d%4$02d%5$02d%5$02d" wants 5 arguments but is given 6 in org.apache.hadoop.hive.ql.QueryPlan.makeQueryId() | CORRECTNESS | VA_FORMAT_STRING_EXTRA_ARGUMENTS_PASSED | 152 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread field: org.apache.hadoop.hive.ql.QueryProperties.hasJoin | PERFORMANCE | URF_UNREAD_FIELD | 45 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.debug.Utils.dumpHeapToTmp(String[]) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 49 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.AppMasterEventOperator is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 45 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.ArchiveUtils.ARCHIVING_LEVEL isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 53 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.ByteWritable$Comparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 89 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of obj, which is known to be non-null in org.apache.hadoop.hive.ql.exec.ColumnInfo.equals(Object) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 207 | Medium |
| Class org.apache.hadoop.hive.ql.exec.ColumnInfo defines non-transient non-serializable instance field objectInspector | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.CommonMergeJoinOperator.originalParents is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.DDLTask.msck(Hive, MsckDesc): new java.io.OutputStreamWriter(OutputStream) | I18N | DM_DEFAULT_ENCODING | 1750 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.DDLTask.showConf(Hive, ShowConfDesc): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 531 | High |
| Field DDLTask.conf masks field in superclass org.apache.hadoop.hive.ql.exec.Task | CORRECTNESS | MF_CLASS_MASKS_FIELD | High | |
| org.apache.hadoop.hive.ql.exec.DDLTask.writeToFile(String, String) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 3079 | Medium |
| Class org.apache.hadoop.hive.ql.exec.DDLTask defines non-transient non-serializable instance field formatter | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Write to static field org.apache.hadoop.hive.ql.exec.DDLTask.INTERMEDIATE_ARCHIVED_DIR_SUFFIX from instance method org.apache.hadoop.hive.ql.exec.DDLTask.initialize(HiveConf, QueryPlan, DriverContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 251 | Medium |
| Write to static field org.apache.hadoop.hive.ql.exec.DDLTask.INTERMEDIATE_EXTRACTED_DIR_SUFFIX from instance method org.apache.hadoop.hive.ql.exec.DDLTask.initialize(HiveConf, QueryPlan, DriverContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 255 | Medium |
| Write to static field org.apache.hadoop.hive.ql.exec.DDLTask.INTERMEDIATE_ORIGINAL_DIR_SUFFIX from instance method org.apache.hadoop.hive.ql.exec.DDLTask.initialize(HiveConf, QueryPlan, DriverContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 253 | Medium |
| org.apache.hadoop.hive.ql.exec.DDLTask.alterIndex(Hive, AlterIndexDesc) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 874 | Medium |
| org.apache.hadoop.hive.ql.exec.DDLTask.alterTableOrSinglePartition(AlterTableDesc, Table, Partition) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 3622 | Medium |
| org.apache.hadoop.hive.ql.exec.DDLTask.showCreateTable(Hive, ShowCreateTableDesc) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 2080 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Non-virtual method call in org.apache.hadoop.hive.ql.exec.DefaultUDAFEvaluatorResolver.getEvaluatorClass(List) passes null for nonnull parameter of new AmbiguousMethodException(Class, List, List) | CORRECTNESS | NP_NULL_PARAM_DEREF_NONVIRTUAL | 95 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Invocation of toString on DemuxOperator.newChildOperatorsTag in org.apache.hadoop.hive.ql.exec.DemuxOperator.initializeOp(Configuration) | CORRECTNESS | DMI_INVOKING_TOSTRING_ON_ARRAY | 180 | High |
| Class org.apache.hadoop.hive.ql.exec.DemuxOperator defines non-transient non-serializable instance field childInputObjInspectors | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.DummyStoreOperator is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 71 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.ExplainSQRewriteTask.execute(DriverContext): new java.io.PrintStream(OutputStream) | I18N | DM_DEFAULT_ENCODING | 59 | High |
| Format string should use %n rather than \n in org.apache.hadoop.hive.ql.exec.ExplainSQRewriteTask.addRewrites(TokenRewriteStream, QBSubQuery, String, PrintStream, String, boolean, StringBuilder) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 161 | Medium |
| Format string should use %n rather than \n in org.apache.hadoop.hive.ql.exec.ExplainSQRewriteTask.addRewrites(TokenRewriteStream, QBSubQuery, String, PrintStream, String, boolean, StringBuilder) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 163 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Questionable cast from Collection to abstract class java.util.Set in org.apache.hadoop.hive.ql.exec.ExplainTask.outputPlan(Object, PrintStream, boolean, boolean, int, String) | STYLE | BC_BAD_CAST_TO_ABSTRACT_COLLECTION | 697 | Medium |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.ExplainTask.execute(DriverContext): new java.io.PrintStream(OutputStream) | I18N | DM_DEFAULT_ENCODING | 271 | High |
| Redundant nullcheck of val, which is known to be non-null in org.apache.hadoop.hive.ql.exec.ExplainTask.outputPlan(Object, PrintStream, boolean, boolean, int, String) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 684 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.exec.ExplainTask$MethodComparator be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unused field: org.apache.hadoop.hive.ql.exec.ExprNodeEvaluatorRef.counter | PERFORMANCE | UUF_UNUSED_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.ExprNodeGenericFuncEvaluator.getChildren() may expose internal representation by returning ExprNodeGenericFuncEvaluator.children | MALICIOUS_CODE | EI_EXPOSE_REP | 161 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to partDesc in org.apache.hadoop.hive.ql.exec.FetchOperator.setupOutputObjectInspector() | STYLE | DLS_DEAD_LOCAL_STORE | 570 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow() | STYLE | REC_CATCH_EXCEPTION | 506 | Medium |
| Class org.apache.hadoop.hive.ql.exec.FetchOperator defines non-transient non-serializable instance field context | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.FetchOperator defines non-transient non-serializable instance field vcsOI | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| org.apache.hadoop.hive.serde2.objectinspector.StandardStructObjectInspector stored into non-transient field FetchOperator.vcsOI | BAD_PRACTICE | SE_BAD_FIELD_STORE | 155 | Medium |
| org.apache.hadoop.hive.ql.exec.FetchOperator is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 82 | Medium |
| The field org.apache.hadoop.hive.ql.exec.FetchOperator.row is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.exec.FileSinkOperator.createBucketFiles(FileSinkOperator$FSPaths) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 515 | High |
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.exec.FileSinkOperator.createBucketForFileIdx(FileSinkOperator$FSPaths, int) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 599 | High |
| Nullcheck of FileSinkOperator.dpColNames at line 458 of value previously dereferenced in org.apache.hadoop.hive.ql.exec.FileSinkOperator.dpSetup() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 455 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.FileSinkOperator.createBucketFiles(FileSinkOperator$FSPaths) | STYLE | REC_CATCH_EXCEPTION | 542 | Medium |
| Class org.apache.hadoop.hive.ql.exec.FileSinkOperator defines non-transient non-serializable instance field bucketField | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.exec.FileSinkOperator defines non-transient non-serializable instance field bucketInspector | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.exec.FileSinkOperator defines non-transient non-serializable instance field recIdField | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.exec.FileSinkOperator defines non-transient non-serializable instance field recIdInspector | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.exec.FileSinkOperator defines non-transient non-serializable instance field recordValue | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| The field org.apache.hadoop.hive.ql.exec.FileSinkOperator.bucketMap is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.FileSinkOperator.cntr is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.FileSinkOperator.isNativeTable is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.FileSinkOperator.lastProgressReport is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.FileSinkOperator$FSPaths implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 145 | Medium |
| org.apache.hadoop.hive.ql.exec.FileSinkOperator$FSPaths.getOutWriters() may expose internal representation by returning FileSinkOperator$FSPaths.outWriters | MALICIOUS_CODE | EI_EXPOSE_REP | 184 | Medium |
| org.apache.hadoop.hive.ql.exec.FileSinkOperator$FSPaths.setOutWriters(FileSinkOperator$RecordWriter[]) may expose internal representation by storing an externally mutable object into FileSinkOperator$FSPaths.outWriters | MALICIOUS_CODE | EI_EXPOSE_REP2 | 180 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to key in org.apache.hadoop.hive.ql.exec.FooterBuffer.updateBuffer(JobConf, RecordReader, WritableComparable, Writable) | STYLE | DLS_DEAD_LOCAL_STORE | 101 | High |
| Dead store to value in org.apache.hadoop.hive.ql.exec.FooterBuffer.updateBuffer(JobConf, RecordReader, WritableComparable, Writable) | STYLE | DLS_DEAD_LOCAL_STORE | 102 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.FunctionInfo.getResources() may expose internal representation by returning FunctionInfo.resources | MALICIOUS_CODE | EI_EXPOSE_REP | 245 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Field FunctionTask.conf masks field in superclass org.apache.hadoop.hive.ql.exec.Task | CORRECTNESS | MF_CLASS_MASKS_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.GroupByOperator.getSize(int, PrimitiveObjectInspector$PrimitiveCategory) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 438 | Medium |
| org.apache.hadoop.hive.ql.exec.GroupByOperator.getSize(int, Class, Field) invokes inefficient new String() constructor | PERFORMANCE | DM_STRING_VOID_CTOR | 480 | Medium |
| Integral division result cast to double or float in org.apache.hadoop.hive.ql.exec.GroupByOperator.processOp(Object, int) | STYLE | ICAST_IDIV_CAST_TO_DOUBLE | 716 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.GroupByOperator.estimateSize(GenericUDAFEvaluator$AggregationBuffer, List) | STYLE | REC_CATCH_EXCEPTION | 936 | Medium |
| The field org.apache.hadoop.hive.ql.exec.GroupByOperator.distinctKeyAggrs is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.GroupByOperator.fixedRowSize is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.GroupByOperator.nonDistinctAggrs is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.GroupByOperator.nonDistinctKeyAggrs is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.GroupByOperator.totalVariableSize is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.HashTableSinkOperator.getMapJoinTables() may expose internal representation by returning HashTableSinkOperator.mapJoinTables | MALICIOUS_CODE | EI_EXPOSE_REP | 195 | Medium |
| Class org.apache.hadoop.hive.ql.exec.HashTableSinkOperator defines non-transient non-serializable instance field emptyRowContainer | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.HashTableSinkOperator defines non-transient non-serializable instance field hconf | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.HashTableSinkOperator defines non-transient non-serializable instance field memoryExhaustionHandler | BAD_PRACTICE | SE_BAD_FIELD | High | |
| The field org.apache.hadoop.hive.ql.exec.HashTableSinkOperator.posBigTableAlias is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.KeyWrapperFactory(ExprNodeEvaluator[], ObjectInspector[], ObjectInspector[]) may expose internal representation by storing an externally mutable object into KeyWrapperFactory.currentKeyObjectInspectors | MALICIOUS_CODE | EI_EXPOSE_REP2 | 38 | Medium |
| new org.apache.hadoop.hive.ql.exec.KeyWrapperFactory(ExprNodeEvaluator[], ObjectInspector[], ObjectInspector[]) may expose internal representation by storing an externally mutable object into KeyWrapperFactory.keyFields | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 | Medium |
| new org.apache.hadoop.hive.ql.exec.KeyWrapperFactory(ExprNodeEvaluator[], ObjectInspector[], ObjectInspector[]) may expose internal representation by storing an externally mutable object into KeyWrapperFactory.keyObjectInspectors | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Equals method for org.apache.hadoop.hive.ql.exec.KeyWrapperFactory$ListKeyWrapper assumes the argument is of type KeyWrapperFactory$ListKeyWrapper | BAD_PRACTICE | BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS | 100 | Medium |
| org.apache.hadoop.hive.ql.exec.KeyWrapperFactory$ListKeyWrapper.equals(Object) does not check for null argument | BAD_PRACTICE | NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT | 100 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Equals method for org.apache.hadoop.hive.ql.exec.KeyWrapperFactory$TextKeyWrapper assumes the argument is of type KeyWrapperFactory$TextKeyWrapper | BAD_PRACTICE | BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS | 183 | Medium |
| org.apache.hadoop.hive.ql.exec.KeyWrapperFactory$TextKeyWrapper.equals(Object) does not check for null argument | BAD_PRACTICE | NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT | 183 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.ListSinkOperator is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 36 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.MapJoinOperator defines non-transient non-serializable instance field perfLogger | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.MapJoinOperator defines non-transient non-serializable instance field unwrapContainer | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.MapJoinOperator defines non-transient non-serializable instance field loader | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.MapOperator defines non-transient non-serializable instance field opCtxMap | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.MapOperator defines non-transient non-serializable instance field childrenOpToOI | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| The field org.apache.hadoop.hive.ql.exec.MapOperator.cntr is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.MapOperator.normalizedPaths is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.MapredContext.needClose(Closeable) | STYLE | REC_CATCH_EXCEPTION | 159 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.MapredContext.needConfigure(Object) | STYLE | REC_CATCH_EXCEPTION | 149 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.MoveTask.execute(DriverContext) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 252 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.MuxOperator defines non-transient non-serializable instance field handlers | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.Operator.dump(int, HashSet) invokes inefficient new Integer(String) constructor; use Integer.valueOf(String) instead | PERFORMANCE | DM_NUMBER_CTOR | 932 | Medium |
| org.apache.hadoop.hive.ql.exec.Operator.getInputObjInspectors() may expose internal representation by returning Operator.inputObjInspectors | MALICIOUS_CODE | EI_EXPOSE_REP | 483 | Medium |
| org.apache.hadoop.hive.ql.exec.Operator.initialize(Configuration, ObjectInspector[]) may expose internal representation by storing an externally mutable object into Operator.inputObjInspectors | MALICIOUS_CODE | EI_EXPOSE_REP2 | 351 | Medium |
| org.apache.hadoop.hive.ql.exec.Operator.setInputObjInspectors(ObjectInspector[]) may expose internal representation by storing an externally mutable object into Operator.inputObjInspectors | MALICIOUS_CODE | EI_EXPOSE_REP2 | 487 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.OrcFileMergeOperator defines non-transient non-serializable instance field fdis | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.exec.OrcFileMergeOperator defines non-transient non-serializable instance field prevPath | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Nullcheck of PTFOperator.newKeys at line 109 of value previously dereferenced in org.apache.hadoop.hive.ql.exec.PTFOperator.processOp(Object, int) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 108 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.PTFPartition.LOG isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 43 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.RCFileMergeOperator defines non-transient non-serializable instance field outWriter | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.ReduceSinkOperator.getInputAliases() may expose internal representation by returning ReduceSinkOperator.inputAliases | MALICIOUS_CODE | EI_EXPOSE_REP | 608 | Medium |
| org.apache.hadoop.hive.ql.exec.ReduceSinkOperator.getValueIndex() may expose internal representation by returning ReduceSinkOperator.valueIndex | MALICIOUS_CODE | EI_EXPOSE_REP | 600 | Medium |
| org.apache.hadoop.hive.ql.exec.ReduceSinkOperator.setInputAliases(String[]) may expose internal representation by storing an externally mutable object into ReduceSinkOperator.inputAliases | MALICIOUS_CODE | EI_EXPOSE_REP2 | 604 | Medium |
| org.apache.hadoop.hive.ql.exec.ReduceSinkOperator.setValueIndex(int[]) may expose internal representation by storing an externally mutable object into ReduceSinkOperator.valueIndex | MALICIOUS_CODE | EI_EXPOSE_REP2 | 596 | Medium |
| Field ReduceSinkOperator.out masks field in superclass org.apache.hadoop.hive.ql.exec.Operator | CORRECTNESS | MF_CLASS_MASKS_FIELD | High | |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.ReduceSinkOperator.initializeOp(Configuration) | STYLE | REC_CATCH_EXCEPTION | 241 | Medium |
| Class org.apache.hadoop.hive.ql.exec.ReduceSinkOperator defines non-transient non-serializable instance field acidRowInspector | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.exec.ReduceSinkOperator defines non-transient non-serializable instance field bucketField | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.exec.ReduceSinkOperator defines non-transient non-serializable instance field bucketInspector | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.exec.ReduceSinkOperator defines non-transient non-serializable instance field recIdField | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.exec.ReduceSinkOperator defines non-transient non-serializable instance field recIdInspector | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| The field org.apache.hadoop.hive.ql.exec.ReduceSinkOperator.cntr is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.ReduceSinkOperator.tagByte is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.RowSchema defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 107 | High |
| Possible null pointer dereference of RowSchema.signature on branch that might be infeasible in org.apache.hadoop.hive.ql.exec.RowSchema.equals(Object) | STYLE | NP_NULL_ON_SOME_PATH_MIGHT_BE_INFEASIBLE | 123 | Medium |
| Possible null pointer dereference of origColumn on branch that might be infeasible in org.apache.hadoop.hive.ql.exec.RowSchema.equals(Object) | STYLE | NP_NULL_ON_SOME_PATH_MIGHT_BE_INFEASIBLE | 142 | Medium |
| Redundant nullcheck of obj, which is known to be non-null in org.apache.hadoop.hive.ql.exec.RowSchema.equals(Object) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 107 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.SMBMapJoinOperator defines non-transient non-serializable instance field aliasToMergeQueue | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.SMBMapJoinOperator defines non-transient non-serializable instance field candidateStorage | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.SMBMapJoinOperator defines non-transient non-serializable instance field nextGroupStorage | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.ScriptOperator.processOp(Object, int) | STYLE | REC_CATCH_EXCEPTION | 412 | Medium |
| "." or "|" used for regular expression in org.apache.hadoop.hive.ql.exec.ScriptOperator.blackListed(String) | CORRECTNESS | RE_POSSIBLE_UNINTENDED_PATTERN | 155 | Medium |
| Return value of String.replaceAll(String, String) ignored in org.apache.hadoop.hive.ql.exec.ScriptOperator.blackListed(String) | CORRECTNESS | RV_RETURN_VALUE_IGNORED | 155 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.exec.ScriptOperator$PathFinder be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 198 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible null pointer dereference of origColumn on branch that might be infeasible in org.apache.hadoop.hive.ql.exec.SelectOperator.isIdentitySelect() | STYLE | NP_NULL_ON_SOME_PATH_MIGHT_BE_INFEASIBLE | 176 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| instanceof will always return true for all nonnull values in org.apache.hadoop.hive.ql.exec.SkewJoinHandler.handleSkew(int), since all java.util.List<java.lang.Object> are instances of java.util.List | STYLE | BC_VACUOUS_INSTANCEOF | 235 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Bad attempt to compute absolute value of signed random integer in org.apache.hadoop.hive.ql.exec.SparkHashTableSinkOperator.flushToFile(MapJoinPersistableTableContainer, byte) | CORRECTNESS | RV_ABSOLUTE_VALUE_OF_RANDOM_INT | 123 | High |
| Class org.apache.hadoop.hive.ql.exec.SparkHashTableSinkOperator defines non-transient non-serializable instance field perfLogger | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.StatsNoJobTask.aggregateStats(ExecutorService) | STYLE | REC_CATCH_EXCEPTION | 304 | High |
| Write to static field org.apache.hadoop.hive.ql.exec.StatsNoJobTask.jc from instance method org.apache.hadoop.hive.ql.exec.StatsNoJobTask.initialize(HiveConf, QueryPlan, DriverContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 87 | High |
| Write to static field org.apache.hadoop.hive.ql.exec.StatsNoJobTask.partUpdates from instance method org.apache.hadoop.hive.ql.exec.StatsNoJobTask.execute(DriverContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 105 | Medium |
| Write to static field org.apache.hadoop.hive.ql.exec.StatsNoJobTask.table from instance method org.apache.hadoop.hive.ql.exec.StatsNoJobTask.execute(DriverContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 99 | Medium |
| Write to static field org.apache.hadoop.hive.ql.exec.StatsNoJobTask.tableFullName from instance method org.apache.hadoop.hive.ql.exec.StatsNoJobTask.execute(DriverContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 101 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Null passed for nonnull parameter of java.util.concurrent.ConcurrentMap.put(Object, Object) in org.apache.hadoop.hive.ql.exec.StatsNoJobTask$StatsCollection.run() | CORRECTNESS | NP_NONNULL_PARAM_VIOLATION | 202 | High |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.StatsNoJobTask$StatsCollection.run() | STYLE | REC_CATCH_EXCEPTION | 193 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.StatsTask.aggregateStats() | STYLE | REC_CATCH_EXCEPTION | 226 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.TableScanOperator.rowLimit is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.Task.LOG isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 71 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.TaskFactory.getAndIncrementId() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 121 | Medium |
| org.apache.hadoop.hive.ql.exec.TaskFactory.taskvec isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 76 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Result of integer multiplication cast to long in org.apache.hadoop.hive.ql.exec.TopNHash.initialize(int, float, boolean, TopNHash$BinaryCollector) | STYLE | ICAST_INTEGER_MULTIPLY_CAST_TO_LONG | 107 | Medium |
| org.apache.hadoop.hive.ql.exec.TopNHash.LOG isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 46 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to typeNames in org.apache.hadoop.hive.ql.exec.UDFArgumentException.getMessage(String, Class, List, List) | STYLE | DLS_DEAD_LOCAL_STORE | 83 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.UDTFOperator defines non-transient non-serializable instance field collector | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.UDTFOperator defines non-transient non-serializable instance field genericUDTF | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.exec.UDTFOperator defines non-transient non-serializable instance field udtfInputOI | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.UnionOperator defines non-transient non-serializable instance field columnTypeResolvers | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.UnionOperator defines non-transient non-serializable instance field parentObjInspectors | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.Utilities.createEmptyBuckets(Configuration, ArrayList, FileSinkDesc, Reporter) uses the same code for two branches | STYLE | DB_DUPLICATE_BRANCHES | 1870 | Medium |
| org.apache.hadoop.hive.ql.exec.Utilities.removeFromClassPath(String[]) is or uses a map or set of URLs, which can be a performance hog | PERFORMANCE | DMI_COLLECTION_OF_URLS | 2213 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.Utilities.getHashedStatsPrefix(String, int): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 2799 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.Utilities.getHashedStatsPrefix(String, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 2798 | High |
| org.apache.hadoop.hive.ql.exec.Utilities.createTempDir(String) uses the nextDouble method of Random to generate a random integer; using nextInt is more efficient | PERFORMANCE | DM_NEXTINT_VIA_NEXTDOUBLE | 3681 | Medium |
| org.apache.hadoop.hive.ql.exec.Utilities.generateFileName(Byte, String) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 2876 | Medium |
| org.apache.hadoop.hive.ql.exec.Utilities.generatePath(Path, String) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 2893 | Medium |
| org.apache.hadoop.hive.ql.exec.Utilities.addToClassPath(ClassLoader, String[]) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 2196 | Medium |
| org.apache.hadoop.hive.ql.exec.Utilities.removeFromClassPath(String[]) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 2218 | Medium |
| org.apache.hadoop.hive.ql.exec.Utilities.HADOOP_LOCAL_FS isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 203 | High |
| org.apache.hadoop.hive.ql.exec.Utilities.MAP_PLAN_NAME isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 204 | High |
| org.apache.hadoop.hive.ql.exec.Utilities.MERGE_PLAN_NAME isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 206 | High |
| org.apache.hadoop.hive.ql.exec.Utilities.REDUCE_PLAN_NAME isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 205 | High |
| org.apache.hadoop.hive.ql.exec.Utilities.randGen isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 1130 | High |
| org.apache.hadoop.hive.ql.exec.Utilities.reduceFieldNameList isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 223 | High |
| org.apache.hadoop.hive.ql.exec.Utilities.runtimeSerializationKryo isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 1073 | High |
| org.apache.hadoop.hive.ql.exec.Utilities.suffix isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 2867 | High |
| Possible null pointer dereference of mapPath in org.apache.hadoop.hive.ql.exec.Utilities.clearWork(Configuration) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 260 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.Utilities.setBaseWork(Configuration, BaseWork, Path, String, boolean) | STYLE | REC_CATCH_EXCEPTION | 730 | Medium |
| Bad attempt to compute absolute value of signed random integer in org.apache.hadoop.hive.ql.exec.Utilities.getTaskId(Configuration) | CORRECTNESS | RV_ABSOLUTE_VALUE_OF_RANDOM_INT | 1138 | High |
| Switch statement found in org.apache.hadoop.hive.ql.exec.Utilities.escapeSqlLike(String) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3113 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.Utilities$6.run() | STYLE | REC_CATCH_EXCEPTION | 2566 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.errors.TaskLogProcessor.getErrors(): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 126 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.errors.TaskLogProcessor.getStackTraces(): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 198 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.mr.ExecDriver defines non-transient non-serializable instance field jobExecHelper | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.mr.ExecDriver defines non-transient non-serializable instance field rj | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Uninitialized read of job in new org.apache.hadoop.hive.ql.exec.mr.ExecDriver() | CORRECTNESS | UR_UNINIT_READ | 125 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Write to static field org.apache.hadoop.hive.ql.exec.mr.ExecMapper.done from instance method org.apache.hadoop.hive.ql.exec.mr.ExecMapper.map(Object, Object, OutputCollector, Reporter) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 158 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.mr.HadoopJobExecHelper.computeReducerTimeStatsPerJob(RunningJob) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 606 | Medium |
| org.apache.hadoop.hive.ql.exec.mr.HadoopJobExecHelper.runningJobs isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 162 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.hadoop.hive.ql.exec.mr.HashTableLoader shadows the simple name of implemented interface org.apache.hadoop.hive.ql.exec.HashTableLoader | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_INTERFACE | 54 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxed value is unboxed and then immediately reboxed in org.apache.hadoop.hive.ql.exec.mr.MapRedTask.setNumberOfReducers() | PERFORMANCE | BX_UNBOXING_IMMEDIATELY_REBOXED | 392 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.mr.MapRedTask.execute(DriverContext) | STYLE | REC_CATCH_EXCEPTION | 302 | Medium |
| Class org.apache.hadoop.hive.ql.exec.mr.MapRedTask defines non-transient non-serializable instance field executor | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask.memoryMXBean should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | Medium | |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask.executeInChildVM(DriverContext) | STYLE | REC_CATCH_EXCEPTION | 314 | Medium |
| Class org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask defines non-transient non-serializable instance field execContext | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask defines non-transient non-serializable instance field job | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask defines non-transient non-serializable instance field jobExecHelper | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask defines non-transient non-serializable instance field executor | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 83 | Medium |
| Write to static field org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask.memoryMXBean from instance method org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask.executeInProcess(DriverContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 331 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.hadoop.hive.ql.exec.mr.ObjectCache shadows the simple name of implemented interface org.apache.hadoop.hive.ql.exec.ObjectCache | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_INTERFACE | 32 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.mr.Throttle.checkJobTracker(JobConf, Log): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 75 | High |
| org.apache.hadoop.hive.ql.exec.mr.Throttle.checkJobTracker(JobConf, Log) ignores result of java.io.InputStream.read(byte[]) | BAD_PRACTICE | RR_NOT_CHECKED | 69 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.persistence.FlatRowContainer.toArray() may expose internal representation by returning FlatRowContainer.array | MALICIOUS_CODE | EI_EXPOSE_REP | 306 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Potentially ambiguous invocation of either an outer or inherited method java.util.AbstractList.listIterator() in org.apache.hadoop.hive.ql.exec.persistence.FlatRowContainer$ReadOnlySubList.iterator() | STYLE | IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD | 285 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.persistence.HashMapWrapper defines non-transient non-serializable instance field output | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.persistence.HashMapWrapper defines non-transient non-serializable instance field lastKey | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.exec.persistence.HashMapWrapper defines non-transient non-serializable instance field mHash | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| org.apache.hadoop.hive.ql.exec.persistence.HashMapWrapper is Serializable but its superclass doesn't define an accessible void constructor | BAD_PRACTICE | SE_NO_SUITABLE_CONSTRUCTOR | 54 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.persistence.MapJoinKeyObject.getKeyObjects() may expose internal representation by returning MapJoinKeyObject.key | MALICIOUS_CODE | EI_EXPOSE_REP | 55 | Medium |
| new org.apache.hadoop.hive.ql.exec.persistence.MapJoinKeyObject(Object[]) may expose internal representation by storing an externally mutable object into MapJoinKeyObject.key | MALICIOUS_CODE | EI_EXPOSE_REP2 | 47 | Medium |
| org.apache.hadoop.hive.ql.exec.persistence.MapJoinKeyObject.setKeyObjects(Object[]) may expose internal representation by storing an externally mutable object into MapJoinKeyObject.key | MALICIOUS_CODE | EI_EXPOSE_REP2 | 59 | Medium |
| Nullcheck of MapJoinKeyObject.key at line 69 of value previously dereferenced in org.apache.hadoop.hive.ql.exec.persistence.MapJoinKeyObject.hasAnyNulls(int, boolean[]) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 68 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to localJc in org.apache.hadoop.hive.ql.exec.persistence.RowContainer.nextBlock(int) | STYLE | DLS_DEAD_LOCAL_STORE | 368 | Medium |
| Dead store to localJc in org.apache.hadoop.hive.ql.exec.persistence.RowContainer.setReaderAtSplit(int) | STYLE | DLS_DEAD_LOCAL_STORE | 568 | Medium |
| Dead store to localJc in org.apache.hadoop.hive.ql.exec.persistence.RowContainer.setupWriter() | STYLE | DLS_DEAD_LOCAL_STORE | 528 | Medium |
| org.apache.hadoop.hive.ql.exec.persistence.RowContainer.LOG isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 77 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.persistence.UnwrapRowContainer(byte, int[], boolean) may expose internal representation by storing an externally mutable object into UnwrapRowContainer.valueIndex | MALICIOUS_CODE | EI_EXPOSE_REP2 | 48 | Medium |
| org.apache.hadoop.hive.ql.exec.persistence.UnwrapRowContainer.setInternal(MapJoinRowContainer, Object[]) may expose internal representation by storing an externally mutable object into UnwrapRowContainer.currentKey | MALICIOUS_CODE | EI_EXPOSE_REP2 | 55 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.hadoop.hive.ql.exec.spark.HashTableLoader shadows the simple name of implemented interface org.apache.hadoop.hive.ql.exec.HashTableLoader | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_INTERFACE | 50 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.spark.HiveMapFunctionResultList defines non-transient non-serializable instance field recordHandler | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.spark.HivePairFlatMapFunction(byte[], SparkReporter) may expose internal representation by storing an externally mutable object into HivePairFlatMapFunction.buffer | MALICIOUS_CODE | EI_EXPOSE_REP2 | 44 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.spark.HiveReduceFunctionResultList defines non-transient non-serializable instance field reduceRecordHandler | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.spark.HiveSparkClientFactory.initiateSparkConf(HiveConf) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 78 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.spark.LocalHiveSparkClient defines non-transient non-serializable instance field jobMetricsListener | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.spark.LocalHiveSparkClient defines non-transient non-serializable instance field sc | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Write to static field org.apache.hadoop.hive.ql.exec.spark.LocalHiveSparkClient.client from instance method org.apache.hadoop.hive.ql.exec.spark.LocalHiveSparkClient.close() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 203 | High |
| org.apache.hadoop.hive.ql.exec.spark.LocalHiveSparkClient.execute(DriverContext, SparkWork) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 120 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.spark.MapInput$CopyFunction is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.spark.RemoteHiveSparkClient.localFiles is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.spark.RemoteHiveSparkClient.localJars is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.spark.RemoteHiveSparkClient.remoteClient is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.spark.RemoteHiveSparkClient.sparkClientTimtout is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.spark.RemoteHiveSparkClient$JobStatusJob.call(JobContext) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 234 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.spark.SparkReduceRecordHandler.init(JobConf, OutputCollector, Reporter) | STYLE | REC_CATCH_EXCEPTION | 191 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| instanceof will always return true for all nonnull values in org.apache.hadoop.hive.ql.exec.spark.SparkTask.getStatsTaskInChildTasks(Task), since all org.apache.hadoop.hive.ql.exec.StatsTask<? extends java.io.Serializable> are instances of org.apache.hadoop.hive.ql.exec.StatsTask | STYLE | BC_VACUOUS_INSTANCEOF | 301 | Medium |
| Class org.apache.hadoop.hive.ql.exec.spark.SparkTask defines non-transient non-serializable instance field perfLogger | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| File.separator used for regular expression in org.apache.hadoop.hive.ql.exec.spark.SparkUtilities.getFileName(URI) | CORRECTNESS | RE_CANT_USE_FILE_SEPARATOR_AS_REGULAR_EXPRESSION | 99 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Load of known null value in org.apache.hadoop.hive.ql.exec.spark.status.LocalSparkJobMonitor.startMonitor() | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 63 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.spark.status.RemoteSparkJobMonitor.startMonitor() | STYLE | REC_CATCH_EXCEPTION | 120 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.exec.spark.status.RemoteSparkJobMonitor.startMonitor() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 62 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Format-string method String.format(String, Object[]) called with format string "%s: -/- " wants 1 arguments but is given 3 in org.apache.hadoop.hive.ql.exec.spark.status.SparkJobMonitor.printStatus(Map, Map) | CORRECTNESS | VA_FORMAT_STRING_EXTRA_ARGUMENTS_PASSED | 80 | Medium |
| org.apache.hadoop.hive.ql.exec.spark.status.SparkJobMonitor.isSameAsPreviousProgress(Map, Map) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 146 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.spark.status.SparkStageProgress defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 57 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.tez.CustomPartitionVertex.onVertexStarted(Map) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 159 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.exec.tez.CustomPartitionVertex$PathComparatorForSplit be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible null pointer dereference of fstat in org.apache.hadoop.hive.ql.exec.tez.DagUtils.createLocalResource(FileSystem, Path, LocalResourceType, LocalResourceVisibility) on exception path | CORRECTNESS | NP_NULL_ON_SOME_PATH_EXCEPTION | 715 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.exec.tez.DagUtils.createEdge(JobConf, Vertex, Vertex, TezEdgeProperty, TezWork$VertexType) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 309 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exceptional return value of java.util.concurrent.BlockingQueue.offer(Object) ignored in org.apache.hadoop.hive.ql.exec.tez.DynamicPartitionPruner.addEvent(InputInitializerEvent) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 412 | Medium |
| Exceptional return value of java.util.concurrent.BlockingQueue.offer(Object) ignored in org.apache.hadoop.hive.ql.exec.tez.DynamicPartitionPruner.processVertex(String) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 425 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.hadoop.hive.ql.exec.tez.HashTableLoader shadows the simple name of implemented interface org.apache.hadoop.hive.ql.exec.HashTableLoader | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_INTERFACE | 53 | Medium |
| org.apache.hadoop.hive.ql.exec.tez.HashTableLoader.describeOi(String, ObjectInspector) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 143 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to fs in org.apache.hadoop.hive.ql.exec.tez.HivePreWarmProcessor.run(Map, Map) | STYLE | DLS_DEAD_LOCAL_STORE | 84 | Medium |
| Dead store to mac in org.apache.hadoop.hive.ql.exec.tez.HivePreWarmProcessor.run(Map, Map) | STYLE | DLS_DEAD_LOCAL_STORE | 85 | Medium |
| Dead store to rpool in org.apache.hadoop.hive.ql.exec.tez.HivePreWarmProcessor.run(Map, Map) | STYLE | DLS_DEAD_LOCAL_STORE | 86 | Medium |
| Write to static field org.apache.hadoop.hive.ql.exec.tez.HivePreWarmProcessor.prewarmed from instance method org.apache.hadoop.hive.ql.exec.tez.HivePreWarmProcessor.run(Map, Map) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 111 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.hadoop.hive.ql.exec.tez.ObjectCache shadows the simple name of implemented interface org.apache.hadoop.hive.ql.exec.ObjectCache | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_INTERFACE | 36 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.tez.TezContext.getRecordSources() may expose internal representation by returning TezContext.sources | MALICIOUS_CODE | EI_EXPOSE_REP | 77 | Medium |
| org.apache.hadoop.hive.ql.exec.tez.TezContext.setRecordSources(RecordSource[]) may expose internal representation by storing an externally mutable object into TezContext.sources | MALICIOUS_CODE | EI_EXPOSE_REP2 | 81 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.tez.TezJobMonitor.monitorExecution(DAGClient, HiveTxnManager, HiveConf, DAG) | STYLE | REC_CATCH_EXCEPTION | 375 | Medium |
| org.apache.hadoop.hive.ql.exec.tez.TezJobMonitor.getNameWithProgress(String, int, int) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 723 | Medium |
| Format-string method String.format(String, Object[]) called with format string "%s: -/- " wants 1 arguments but is given 3 in org.apache.hadoop.hive.ql.exec.tez.TezJobMonitor.getReport(Map) | CORRECTNESS | VA_FORMAT_STRING_EXTRA_ARGUMENTS_PASSED | 788 | Medium |
| Format string should use %n rather than \n in org.apache.hadoop.hive.ql.exec.tez.TezJobMonitor.printMethodsSummary() | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 459 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Incorrect lazy initialization of static field org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolManager.sessionPool in org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolManager.getInstance() | MT_CORRECTNESS | LI_LAZY_INIT_STATIC | 54 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.tez.TezTask defines non-transient non-serializable instance field counters | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.exec.tez.TezTask defines non-transient non-serializable instance field perfLogger | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.exec.tez.TezTask defines non-transient non-serializable instance field utils | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.tez.tools.KeyValueInputMerger(List, Deserializer, ObjectInspector[], List) may expose internal representation by storing an externally mutable object into KeyValueInputMerger.inputObjInspectors | MALICIOUS_CODE | EI_EXPOSE_REP2 | 65 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.exec.tez.tools.KeyValuesInputMerger$KVReaderComparator be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.exec.tez.tools.KeyValuesInputMerger$KeyValuesIterator be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 61 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferBatch.getAggregationBuffers() may expose internal representation by returning VectorAggregationBufferBatch.aggregationBuffers | MALICIOUS_CODE | EI_EXPOSE_REP | 90 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow.getAggregationBuffers() may expose internal representation by returning VectorAggregationBufferRow.aggregationBuffers | MALICIOUS_CODE | EI_EXPOSE_REP | 48 | Medium |
| new org.apache.hadoop.hive.ql.exec.vector.VectorAggregationBufferRow(VectorAggregateExpression$AggregationBuffer[]) may expose internal representation by storing an externally mutable object into VectorAggregationBufferRow.aggregationBuffers | MALICIOUS_CODE | EI_EXPOSE_REP2 | 34 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.vector.VectorColumnAssignFactory$17.assignObjectValue(Object, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 426 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.vector.VectorColumnAssignFactory$18.assignObjectValue(Object, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 446 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread public/protected field: org.apache.hadoop.hive.ql.exec.vector.VectorColumnAssignFactory$VectorColumnAssignVectorBase.outBatch | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 91 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.exec.vector.VectorColumnSetInfo$KeyLookupHelper be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 57 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Switch statement found in org.apache.hadoop.hive.ql.exec.vector.VectorFilterOperator.processOp(Object, int) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 98 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.getAggregators() may expose internal representation by returning VectorGroupByOperator.aggregators | MALICIOUS_CODE | EI_EXPOSE_REP | 954 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.getKeyExpressions() may expose internal representation by returning VectorGroupByOperator.keyExpressions | MALICIOUS_CODE | EI_EXPOSE_REP | 946 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.setAggregators(VectorAggregateExpression[]) may expose internal representation by storing an externally mutable object into VectorGroupByOperator.aggregators | MALICIOUS_CODE | EI_EXPOSE_REP2 | 958 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.setKeyExpressions(VectorExpression[]) may expose internal representation by storing an externally mutable object into VectorGroupByOperator.keyExpressions | MALICIOUS_CODE | EI_EXPOSE_REP2 | 950 | Medium |
| Class org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator defines non-transient non-serializable instance field vOutContext | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.VectorHashKeyWrapperBatch.getVectorHashKeyWrappers() may expose internal representation by returning VectorHashKeyWrapperBatch.vectorHashKeyWrappers | MALICIOUS_CODE | EI_EXPOSE_REP | 76 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to alias in org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.processOp(Object, int) | STYLE | DLS_DEAD_LOCAL_STORE | 224 | Medium |
| Class org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator defines non-transient non-serializable instance field vOutContext | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator defines non-transient non-serializable instance field rowWriters | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to inBatch in org.apache.hadoop.hive.ql.exec.vector.VectorSMBMapJoinOperator.smbJoinComputeKeys(Object, byte) | STYLE | DLS_DEAD_LOCAL_STORE | 125 | Medium |
| Class org.apache.hadoop.hive.ql.exec.vector.VectorSMBMapJoinOperator defines non-transient non-serializable instance field vOutContext | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.vector.VectorSMBMapJoinOperator defines non-transient non-serializable instance field keyOutputWriters | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.VectorSMBMapJoinOperator.batchIndex is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator.getVExpressions() may expose internal representation by returning VectorSelectOperator.vExpressions | MALICIOUS_CODE | EI_EXPOSE_REP | 155 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator.getvExpressions() may expose internal representation by returning VectorSelectOperator.vExpressions | MALICIOUS_CODE | EI_EXPOSE_REP | 151 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator.setVExpressions(VectorExpression[]) may expose internal representation by storing an externally mutable object into VectorSelectOperator.vExpressions | MALICIOUS_CODE | EI_EXPOSE_REP2 | 163 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator.setvExpressions(VectorExpression[]) may expose internal representation by storing an externally mutable object into VectorSelectOperator.vExpressions | MALICIOUS_CODE | EI_EXPOSE_REP2 | 159 | Medium |
| Class org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator defines non-transient non-serializable instance field vOutContext | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to scale in org.apache.hadoop.hive.ql.exec.vector.VectorizationContext.castConstantToDecimal(Object, TypeInfo) | STYLE | DLS_DEAD_LOCAL_STORE | 1300 | Medium |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.vector.VectorizationContext.getConstantVectorExpression(Object, TypeInfo, VectorExpressionDescriptor$Mode): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 884 | High |
| Redundant nullcheck of undecoratedTypeName, which is known to be non-null in org.apache.hadoop.hive.ql.exec.vector.VectorizationContext.getVectorExpressionForUdf(Class, List, VectorExpressionDescriptor$Mode, TypeInfo) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 939 | Medium |
| Redundant nullcheck of outType, which is known to be non-null in org.apache.hadoop.hive.ql.exec.vector.VectorizationContext.instantiateExpression(Class, TypeInfo, Object[]) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1058 | Medium |
| Nullcheck of vectorExpression at line 996 of value previously dereferenced in org.apache.hadoop.hive.ql.exec.vector.VectorizationContext.createVectorExpression(Class, List, VectorExpressionDescriptor$Mode, TypeInfo) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 996 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.exec.vector.VectorizationContext.getGenericUDFForCast(TypeInfo) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 624 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.vector.VectorizedBatchUtil.setVector(Object, StructObjectInspector, List, VectorizedRowBatch, DataOutputBuffer, int, int, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 439 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.vector.VectorizedColumnarSerDe.serializeVector(VectorizedRowBatch, ObjectInspector) | STYLE | REC_CATCH_EXCEPTION | 213 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch.setValueWriters(VectorExpressionWriter[]) may expose internal representation by storing an externally mutable object into VectorizedRowBatch.valueWriters | MALICIOUS_CODE | EI_EXPOSE_REP2 | 184 | Medium |
| Unread public/protected field: org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch.endOfFile | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 197 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatchCtx.addPartitionColsToBatch(VectorizedRowBatch): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 572 | High |
| Redundant nullcheck of pcols, which is known to be non-null in org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatchCtx.init(Configuration, FileSplit) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 256 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.vector.expressions.CastDateToString.func(BytesColumnVector, long[], int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 46 | High |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.CastDateToString.dt is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.CastLongToDate.date is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.CastLongToString.temp is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.vector.expressions.CastStringToDate.evaluate(LongColumnVector, BytesColumnVector, int) | STYLE | REC_CATCH_EXCEPTION | 122 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.CastStringToDate.formatter is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.CastStringToDate.sqlDate is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.CharScalarConcatStringGroupCol(HiveChar, int, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 32 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.ConstantVectorExpression(int, HiveChar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 80 | High |
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.ConstantVectorExpression(int, HiveVarchar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 85 | High |
| org.apache.hadoop.hive.ql.exec.vector.expressions.ConstantVectorExpression.getBytesValue() may expose internal representation by returning ConstantVectorExpression.bytesValue | MALICIOUS_CODE | EI_EXPOSE_REP | 186 | Medium |
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.ConstantVectorExpression defines non-transient non-serializable instance field decimalValue | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Read of unwritten field prev2 in org.apache.hadoop.hive.ql.exec.vector.expressions.CuckooSetBytes.rehash() | CORRECTNESS | NP_UNWRITTEN_FIELD | 222 | Medium |
| Double assignment of field CuckooSetBytes.prev1 in org.apache.hadoop.hive.ql.exec.vector.expressions.CuckooSetBytes.rehash() | STYLE | SA_FIELD_DOUBLE_ASSIGNMENT | 209 | High |
| Field only ever set to null: org.apache.hadoop.hive.ql.exec.vector.expressions.CuckooSetBytes.prev2 | CORRECTNESS | UWF_NULL_FIELD | 235 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.CuckooSetLong.primes should be both final and package protected | MALICIOUS_CODE | MS_FINAL_PKGPROTECT | 47 | Medium |
| Read of unwritten field prev2 in org.apache.hadoop.hive.ql.exec.vector.expressions.CuckooSetLong.rehash() | CORRECTNESS | NP_UNWRITTEN_FIELD | 262 | Medium |
| Double assignment of field CuckooSetLong.prev1 in org.apache.hadoop.hive.ql.exec.vector.expressions.CuckooSetLong.rehash() | STYLE | SA_FIELD_DOUBLE_ASSIGNMENT | 247 | High |
| Field only ever set to null: org.apache.hadoop.hive.ql.exec.vector.expressions.CuckooSetLong.prev2 | CORRECTNESS | UWF_NULL_FIELD | 275 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.DecimalColumnInList.setInListValues(HiveDecimal[]) may expose internal representation by storing an externally mutable object into DecimalColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP2 | 153 | Medium |
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.DecimalColumnInList defines non-transient non-serializable instance field inListValues | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.DoubleColumnInList.getInListValues() may expose internal representation by returning DoubleColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP | 151 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.DoubleColumnInList.setInListValues(double[]) may expose internal representation by storing an externally mutable object into DoubleColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP2 | 155 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.FilterDecimalColumnInList.setInListValues(HiveDecimal[]) may expose internal representation by storing an externally mutable object into FilterDecimalColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP2 | 172 | Medium |
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.FilterDecimalColumnInList defines non-transient non-serializable instance field inListValues | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.FilterDoubleColumnInList.getInListValues() may expose internal representation by returning FilterDoubleColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP | 174 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.FilterDoubleColumnInList.setInListValues(double[]) may expose internal representation by storing an externally mutable object into FilterDoubleColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP2 | 178 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.FilterExprOrExpr.initialSelected is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.FilterExprOrExpr.tmp is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.FilterExprOrExpr.unselected is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.FilterLongColumnInList.getInListValues() may expose internal representation by returning FilterLongColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP | 174 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.FilterLongColumnInList.setInListValues(long[]) may expose internal representation by storing an externally mutable object into FilterLongColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP2 | 178 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.FilterStringColRegExpStringScalar$PhoneNumberChecker(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 112 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.FilterStringColumnInList.getInListValues() may expose internal representation by returning FilterStringColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP | 181 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.FilterStringColumnInList.setInListValues(byte[][]) may expose internal representation by storing an externally mutable object into FilterStringColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP2 | 185 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.IfExprCharScalarStringGroupColumn(int, HiveChar, int, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 36 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.IfExprCharScalarStringScalar(int, HiveChar, byte[], int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 37 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.IfExprStringGroupColumnCharScalar(int, int, HiveChar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 35 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.IfExprStringGroupColumnStringScalar(int, int, byte[], int) may expose internal representation by storing an externally mutable object into IfExprStringGroupColumnStringScalar.arg3Scalar | MALICIOUS_CODE | EI_EXPOSE_REP2 | 44 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.IfExprStringGroupColumnVarCharScalar(int, int, HiveVarchar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 35 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.IfExprStringScalarCharScalar(int, byte[], HiveChar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 37 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.IfExprStringScalarStringGroupColumn(int, byte[], int, int) may expose internal representation by storing an externally mutable object into IfExprStringScalarStringGroupColumn.arg2Scalar | MALICIOUS_CODE | EI_EXPOSE_REP2 | 43 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.IfExprStringScalarStringScalar(int, byte[], byte[], int) may expose internal representation by storing an externally mutable object into IfExprStringScalarStringScalar.arg2Scalar | MALICIOUS_CODE | EI_EXPOSE_REP2 | 45 | Medium |
| new org.apache.hadoop.hive.ql.exec.vector.expressions.IfExprStringScalarStringScalar(int, byte[], byte[], int) may expose internal representation by storing an externally mutable object into IfExprStringScalarStringScalar.arg3Scalar | MALICIOUS_CODE | EI_EXPOSE_REP2 | 46 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.IfExprStringScalarVarCharScalar(int, byte[], HiveVarchar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 37 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.IfExprVarCharScalarStringGroupColumn(int, HiveVarchar, int, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 36 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.IfExprVarCharScalarStringScalar(int, HiveVarchar, byte[], int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 37 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.LongColumnInList.getInListValues() may expose internal representation by returning LongColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP | 150 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.LongColumnInList.setInListValues(long[]) may expose internal representation by storing an externally mutable object into LongColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP2 | 154 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The method name org.apache.hadoop.hive.ql.exec.vector.expressions.MathExpr.NaNToNull(DoubleColumnVector, int[], boolean, int) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 138 | Medium |
| The method name org.apache.hadoop.hive.ql.exec.vector.expressions.MathExpr.NaNToNull(DoubleColumnVector, int[], boolean, int, boolean) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 146 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.RoundWithNumDigitsDoubleToDouble defines non-transient non-serializable instance field decimalPlaces | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.StringColumnInList.getInListValues() may expose internal representation by returning StringColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP | 168 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.StringColumnInList.setInListValues(byte[][]) may expose internal representation by storing an externally mutable object into StringColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP2 | 172 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.StringGroupColConcatCharScalar(int, HiveChar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 32 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.StringGroupColConcatStringScalar.getValue() may expose internal representation by returning StringGroupColConcatStringScalar.value | MALICIOUS_CODE | EI_EXPOSE_REP | 140 | Medium |
| new org.apache.hadoop.hive.ql.exec.vector.expressions.StringGroupColConcatStringScalar(int, byte[], int) may expose internal representation by storing an externally mutable object into StringGroupColConcatStringScalar.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 39 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.StringGroupColConcatStringScalar.setValue(byte[]) may expose internal representation by storing an externally mutable object into StringGroupColConcatStringScalar.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 144 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.StringGroupColConcatVarCharScalar(int, HiveVarchar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 32 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.StringScalarConcatStringGroupCol.getValue() may expose internal representation by returning StringScalarConcatStringGroupCol.value | MALICIOUS_CODE | EI_EXPOSE_REP | 140 | Medium |
| new org.apache.hadoop.hive.ql.exec.vector.expressions.StringScalarConcatStringGroupCol(byte[], int, int) may expose internal representation by storing an externally mutable object into StringScalarConcatStringGroupCol.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 39 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.StringScalarConcatStringGroupCol.setValue(byte[]) may expose internal representation by storing an externally mutable object into StringScalarConcatStringGroupCol.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 144 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.StringSubstrColStartLen.offsetArray is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.StringUnaryUDF defines non-transient non-serializable instance field func | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.VarCharScalarConcatStringGroupCol(HiveVarchar, int, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 32 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.VectorCoalesce.getInputColumns() may expose internal representation by returning VectorCoalesce.inputColumns | MALICIOUS_CODE | EI_EXPOSE_REP | 113 | Medium |
| new org.apache.hadoop.hive.ql.exec.vector.expressions.VectorCoalesce(int[], int) may expose internal representation by storing an externally mutable object into VectorCoalesce.inputColumns | MALICIOUS_CODE | EI_EXPOSE_REP2 | 39 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.VectorCoalesce.setInputColumns(int[]) may expose internal representation by storing an externally mutable object into VectorCoalesce.inputColumns | MALICIOUS_CODE | EI_EXPOSE_REP2 | 117 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.VectorElt.getInputColumns() may expose internal representation by returning VectorElt.inputColumns | MALICIOUS_CODE | EI_EXPOSE_REP | 120 | Medium |
| new org.apache.hadoop.hive.ql.exec.vector.expressions.VectorElt(int[], int) may expose internal representation by storing an externally mutable object into VectorElt.inputColumns | MALICIOUS_CODE | EI_EXPOSE_REP2 | 33 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.VectorElt.setInputColumns(int[]) may expose internal representation by storing an externally mutable object into VectorElt.inputColumns | MALICIOUS_CODE | EI_EXPOSE_REP2 | 124 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression.getChildExpressions() may expose internal representation by returning VectorExpression.childExpressions | MALICIOUS_CODE | EI_EXPOSE_REP | 106 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression.getInputTypes() may expose internal representation by returning VectorExpression.inputTypes | MALICIOUS_CODE | EI_EXPOSE_REP | 135 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression.setChildExpressions(VectorExpression[]) may expose internal representation by storing an externally mutable object into VectorExpression.childExpressions | MALICIOUS_CODE | EI_EXPOSE_REP2 | 102 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateAddColCol.calendar is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateAddColCol.formatter is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateAddColScalar.calendar is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateAddColScalar.formatter is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateAddScalarCol.getStringValue() may expose internal representation by returning VectorUDFDateAddScalarCol.stringValue | MALICIOUS_CODE | EI_EXPOSE_REP | 200 | Medium |
| new org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateAddScalarCol(Object, int, int) may expose internal representation by storing an externally mutable object into VectorUDFDateAddScalarCol.stringValue | MALICIOUS_CODE | EI_EXPOSE_REP2 | 60 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateAddScalarCol.setStringValue(byte[]) may expose internal representation by storing an externally mutable object into VectorUDFDateAddScalarCol.stringValue | MALICIOUS_CODE | EI_EXPOSE_REP2 | 204 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateAddScalarCol.baseDate is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateAddScalarCol.calendar is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateAddScalarCol.formatter is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateDiffColCol.copySelected(BytesColumnVector, boolean, int[], int, LongColumnVector): new String(byte[], int, int) | I18N | DM_DEFAULT_ENCODING | 219 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateDiffColCol.setDays(BytesColumnVector, LongColumnVector, int): new String(byte[], int, int) | I18N | DM_DEFAULT_ENCODING | 273 | High |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateDiffColCol.date is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateDiffColCol.formatter is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateDiffColScalar.getStringValue() may expose internal representation by returning VectorUDFDateDiffColScalar.stringValue | MALICIOUS_CODE | EI_EXPOSE_REP | 286 | Medium |
| new org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateDiffColScalar(int, Object, int) may expose internal representation by storing an externally mutable object into VectorUDFDateDiffColScalar.stringValue | MALICIOUS_CODE | EI_EXPOSE_REP2 | 54 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateDiffColScalar.setStringValue(byte[]) may expose internal representation by storing an externally mutable object into VectorUDFDateDiffColScalar.stringValue | MALICIOUS_CODE | EI_EXPOSE_REP2 | 290 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateDiffColScalar.evaluate(VectorizedRowBatch) | STYLE | REC_CATCH_EXCEPTION | 100 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateDiffColScalar.date is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateDiffColScalar.formatter is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateDiffScalarCol.getStringValue() may expose internal representation by returning VectorUDFDateDiffScalarCol.stringValue | MALICIOUS_CODE | EI_EXPOSE_REP | 285 | Medium |
| new org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateDiffScalarCol(Object, int, int) may expose internal representation by storing an externally mutable object into VectorUDFDateDiffScalarCol.stringValue | MALICIOUS_CODE | EI_EXPOSE_REP2 | 53 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateDiffScalarCol.setStringValue(byte[]) may expose internal representation by storing an externally mutable object into VectorUDFDateDiffScalarCol.stringValue | MALICIOUS_CODE | EI_EXPOSE_REP2 | 289 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateDiffScalarCol.evaluate(VectorizedRowBatch) | STYLE | REC_CATCH_EXCEPTION | 99 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateDiffScalarCol.date is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateDiffScalarCol.formatter is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateLong.date is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDateLong.formatter is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFUnixTimeStampString.calendar is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFUnixTimeStampString.format is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFWeekOfYearString.calendar is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFWeekOfYearString.format is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.VectorUDAFAvgDecimal.evaluateOutput(VectorAggregateExpression$AggregationBuffer) may expose internal representation by returning VectorUDAFAvgDecimal.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 512 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.VectorUDAFAvgDecimal.partialResult is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.VectorUDAFAvgDecimal$Aggregation.count is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.VectorUDAFAvgDecimal$Aggregation.isOutOfRange is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFAvgDouble.evaluateOutput(VectorAggregateExpression$AggregationBuffer) may expose internal representation by returning VectorUDAFAvgDouble.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 454 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFAvgDouble.partialResult is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFAvgDouble$Aggregation.count is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFAvgDouble$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFAvgDouble$Aggregation.sum is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFAvgLong.evaluateOutput(VectorAggregateExpression$AggregationBuffer) may expose internal representation by returning VectorUDAFAvgLong.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 454 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFAvgLong.partialResult is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFAvgLong$Aggregation.count is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFAvgLong$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFAvgLong$Aggregation.sum is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFMaxDecimal$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFMaxDouble$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFMaxDouble$Aggregation.value is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFMaxLong$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFMaxLong$Aggregation.value is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFMaxString$Aggregation.bytes is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFMaxString$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFMinDecimal$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFMinDouble$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFMinDouble$Aggregation.value is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFMinLong$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFMinLong$Aggregation.value is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFMinString$Aggregation.bytes is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFMinString$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdPopDecimal.evaluateOutput(VectorAggregateExpression$AggregationBuffer) may expose internal representation by returning VectorUDAFStdPopDecimal.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 455 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdPopDecimal.partialResult is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdPopDecimal$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdPopDouble.evaluateOutput(VectorAggregateExpression$AggregationBuffer) may expose internal representation by returning VectorUDAFStdPopDouble.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 501 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdPopDouble.partialResult is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdPopDouble$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdPopLong.evaluateOutput(VectorAggregateExpression$AggregationBuffer) may expose internal representation by returning VectorUDAFStdPopLong.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 501 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdPopLong.partialResult is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdPopLong$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdSampDecimal.evaluateOutput(VectorAggregateExpression$AggregationBuffer) may expose internal representation by returning VectorUDAFStdSampDecimal.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 455 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdSampDecimal.partialResult is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdSampDecimal$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdSampDouble.evaluateOutput(VectorAggregateExpression$AggregationBuffer) may expose internal representation by returning VectorUDAFStdSampDouble.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 501 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdSampDouble.partialResult is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdSampDouble$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdSampLong.evaluateOutput(VectorAggregateExpression$AggregationBuffer) may expose internal representation by returning VectorUDAFStdSampLong.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 501 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdSampLong.partialResult is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFStdSampLong$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFSumDouble$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFSumDouble$Aggregation.sum is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFSumLong$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFSumLong$Aggregation.sum is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarPopDecimal.evaluateOutput(VectorAggregateExpression$AggregationBuffer) may expose internal representation by returning VectorUDAFVarPopDecimal.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 455 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarPopDecimal.partialResult is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarPopDecimal$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarPopDouble.evaluateOutput(VectorAggregateExpression$AggregationBuffer) may expose internal representation by returning VectorUDAFVarPopDouble.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 501 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarPopDouble.partialResult is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarPopDouble$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarPopLong.evaluateOutput(VectorAggregateExpression$AggregationBuffer) may expose internal representation by returning VectorUDAFVarPopLong.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 501 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarPopLong.partialResult is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarPopLong$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarSampDecimal.evaluateOutput(VectorAggregateExpression$AggregationBuffer) may expose internal representation by returning VectorUDAFVarSampDecimal.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 455 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarSampDecimal.partialResult is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarSampDecimal$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarSampDouble.evaluateOutput(VectorAggregateExpression$AggregationBuffer) may expose internal representation by returning VectorUDAFVarSampDouble.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 501 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarSampDouble.partialResult is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarSampDouble$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarSampLong.evaluateOutput(VectorAggregateExpression$AggregationBuffer) may expose internal representation by returning VectorUDAFVarSampLong.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 501 | Medium |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarSampLong.partialResult is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarSampLong$Aggregation.isNull is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.CharScalarEqualStringGroupColumn(HiveChar, int, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 42 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.CharScalarGreaterEqualStringGroupColumn(HiveChar, int, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 42 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.CharScalarGreaterStringGroupColumn(HiveChar, int, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 42 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.CharScalarLessEqualStringGroupColumn(HiveChar, int, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 42 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.CharScalarLessStringGroupColumn(HiveChar, int, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 42 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.CharScalarNotEqualStringGroupColumn(HiveChar, int, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 42 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.DecimalColAddDecimalScalar defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.DecimalColDivideDecimalScalar defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.DecimalColModuloDecimalScalar defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.DecimalColMultiplyDecimalScalar defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.DecimalColSubtractDecimalScalar defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.DecimalScalarAddDecimalColumn defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.DecimalScalarDivideDecimalColumn defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.DecimalScalarModuloDecimalColumn defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.DecimalScalarMultiplyDecimalColumn defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.DecimalScalarSubtractDecimalColumn defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterCharColumnBetween(int, HiveChar, HiveChar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 43 | High |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterCharColumnBetween.getLeft() may expose internal representation by returning FilterCharColumnBetween.left | MALICIOUS_CODE | EI_EXPOSE_REP | 167 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterCharColumnBetween.getRight() may expose internal representation by returning FilterCharColumnBetween.right | MALICIOUS_CODE | EI_EXPOSE_REP | 175 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterCharColumnBetween.setLeft(byte[]) may expose internal representation by storing an externally mutable object into FilterCharColumnBetween.left | MALICIOUS_CODE | EI_EXPOSE_REP2 | 171 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterCharColumnBetween.setRight(byte[]) may expose internal representation by storing an externally mutable object into FilterCharColumnBetween.right | MALICIOUS_CODE | EI_EXPOSE_REP2 | 179 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterCharColumnNotBetween(int, HiveChar, HiveChar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 43 | High |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterCharColumnNotBetween.getLeft() may expose internal representation by returning FilterCharColumnNotBetween.left | MALICIOUS_CODE | EI_EXPOSE_REP | 167 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterCharColumnNotBetween.getRight() may expose internal representation by returning FilterCharColumnNotBetween.right | MALICIOUS_CODE | EI_EXPOSE_REP | 175 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterCharColumnNotBetween.setLeft(byte[]) may expose internal representation by storing an externally mutable object into FilterCharColumnNotBetween.left | MALICIOUS_CODE | EI_EXPOSE_REP2 | 171 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterCharColumnNotBetween.setRight(byte[]) may expose internal representation by storing an externally mutable object into FilterCharColumnNotBetween.right | MALICIOUS_CODE | EI_EXPOSE_REP2 | 179 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterCharScalarEqualStringGroupColumn(HiveChar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterCharScalarGreaterEqualStringGroupColumn(HiveChar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterCharScalarGreaterStringGroupColumn(HiveChar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterCharScalarLessEqualStringGroupColumn(HiveChar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterCharScalarLessStringGroupColumn(HiveChar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterCharScalarNotEqualStringGroupColumn(HiveChar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDecimalColEqualDecimalScalar defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDecimalColGreaterDecimalScalar defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDecimalColGreaterEqualDecimalScalar defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDecimalColLessDecimalScalar defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDecimalColLessEqualDecimalScalar defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDecimalColNotEqualDecimalScalar defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDecimalColumnBetween defines non-transient non-serializable instance field leftValue | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDecimalColumnBetween defines non-transient non-serializable instance field rightValue | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDecimalColumnNotBetween defines non-transient non-serializable instance field leftValue | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDecimalColumnNotBetween defines non-transient non-serializable instance field rightValue | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDecimalScalarEqualDecimalColumn defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDecimalScalarGreaterDecimalColumn defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDecimalScalarGreaterEqualDecimalColumn defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDecimalScalarLessDecimalColumn defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDecimalScalarLessEqualDecimalColumn defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDecimalScalarNotEqualDecimalColumn defines non-transient non-serializable instance field value | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringColumnBetween.getLeft() may expose internal representation by returning FilterStringColumnBetween.left | MALICIOUS_CODE | EI_EXPOSE_REP | 165 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringColumnBetween.getRight() may expose internal representation by returning FilterStringColumnBetween.right | MALICIOUS_CODE | EI_EXPOSE_REP | 173 | Medium |
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringColumnBetween(int, byte[], byte[]) may expose internal representation by storing an externally mutable object into FilterStringColumnBetween.left | MALICIOUS_CODE | EI_EXPOSE_REP2 | 41 | Medium |
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringColumnBetween(int, byte[], byte[]) may expose internal representation by storing an externally mutable object into FilterStringColumnBetween.right | MALICIOUS_CODE | EI_EXPOSE_REP2 | 42 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringColumnBetween.setLeft(byte[]) may expose internal representation by storing an externally mutable object into FilterStringColumnBetween.left | MALICIOUS_CODE | EI_EXPOSE_REP2 | 169 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringColumnBetween.setRight(byte[]) may expose internal representation by storing an externally mutable object into FilterStringColumnBetween.right | MALICIOUS_CODE | EI_EXPOSE_REP2 | 177 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringColumnNotBetween.getLeft() may expose internal representation by returning FilterStringColumnNotBetween.left | MALICIOUS_CODE | EI_EXPOSE_REP | 165 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringColumnNotBetween.getRight() may expose internal representation by returning FilterStringColumnNotBetween.right | MALICIOUS_CODE | EI_EXPOSE_REP | 173 | Medium |
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringColumnNotBetween(int, byte[], byte[]) may expose internal representation by storing an externally mutable object into FilterStringColumnNotBetween.left | MALICIOUS_CODE | EI_EXPOSE_REP2 | 41 | Medium |
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringColumnNotBetween(int, byte[], byte[]) may expose internal representation by storing an externally mutable object into FilterStringColumnNotBetween.right | MALICIOUS_CODE | EI_EXPOSE_REP2 | 42 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringColumnNotBetween.setLeft(byte[]) may expose internal representation by storing an externally mutable object into FilterStringColumnNotBetween.left | MALICIOUS_CODE | EI_EXPOSE_REP2 | 169 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringColumnNotBetween.setRight(byte[]) may expose internal representation by storing an externally mutable object into FilterStringColumnNotBetween.right | MALICIOUS_CODE | EI_EXPOSE_REP2 | 177 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColEqualCharScalar(int, HiveChar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 38 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColEqualStringGroupScalarBase.getValue() may expose internal representation by returning FilterStringGroupColEqualStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 148 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColEqualStringGroupScalarBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupColEqualStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 152 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColEqualStringScalar(int, byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupColEqualStringScalar.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColEqualVarCharScalar(int, HiveVarchar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 38 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColGreaterCharScalar(int, HiveChar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 38 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColGreaterEqualCharScalar(int, HiveChar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 38 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColGreaterEqualStringGroupScalarBase.getValue() may expose internal representation by returning FilterStringGroupColGreaterEqualStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 148 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColGreaterEqualStringGroupScalarBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupColGreaterEqualStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 152 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColGreaterEqualStringScalar(int, byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupColGreaterEqualStringScalar.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColGreaterEqualVarCharScalar(int, HiveVarchar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 38 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColGreaterStringGroupScalarBase.getValue() may expose internal representation by returning FilterStringGroupColGreaterStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 148 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColGreaterStringGroupScalarBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupColGreaterStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 152 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColGreaterStringScalar(int, byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupColGreaterStringScalar.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColGreaterVarCharScalar(int, HiveVarchar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 38 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColLessCharScalar(int, HiveChar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 38 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColLessEqualCharScalar(int, HiveChar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 38 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColLessEqualStringGroupScalarBase.getValue() may expose internal representation by returning FilterStringGroupColLessEqualStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 148 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColLessEqualStringGroupScalarBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupColLessEqualStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 152 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColLessEqualStringScalar(int, byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupColLessEqualStringScalar.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColLessEqualVarCharScalar(int, HiveVarchar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 38 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColLessStringGroupScalarBase.getValue() may expose internal representation by returning FilterStringGroupColLessStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 148 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColLessStringGroupScalarBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupColLessStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 152 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColLessStringScalar(int, byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupColLessStringScalar.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColLessVarCharScalar(int, HiveVarchar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 38 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColNotEqualCharScalar(int, HiveChar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 38 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColNotEqualStringGroupScalarBase.getValue() may expose internal representation by returning FilterStringGroupColNotEqualStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 148 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColNotEqualStringGroupScalarBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupColNotEqualStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 152 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColNotEqualStringScalar(int, byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupColNotEqualStringScalar.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupColNotEqualVarCharScalar(int, HiveVarchar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 38 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupScalarEqualStringGroupColumnBase.getValue() may expose internal representation by returning FilterStringGroupScalarEqualStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 152 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupScalarEqualStringGroupColumnBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupScalarEqualStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 156 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupScalarGreaterEqualStringGroupColumnBase.getValue() may expose internal representation by returning FilterStringGroupScalarGreaterEqualStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 152 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupScalarGreaterEqualStringGroupColumnBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupScalarGreaterEqualStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 156 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupScalarGreaterStringGroupColumnBase.getValue() may expose internal representation by returning FilterStringGroupScalarGreaterStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 152 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupScalarGreaterStringGroupColumnBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupScalarGreaterStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 156 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupScalarLessEqualStringGroupColumnBase.getValue() may expose internal representation by returning FilterStringGroupScalarLessEqualStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 152 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupScalarLessEqualStringGroupColumnBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupScalarLessEqualStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 156 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupScalarLessStringGroupColumnBase.getValue() may expose internal representation by returning FilterStringGroupScalarLessStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 152 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupScalarLessStringGroupColumnBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupScalarLessStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 156 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupScalarNotEqualStringGroupColumnBase.getValue() may expose internal representation by returning FilterStringGroupScalarNotEqualStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 152 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringGroupScalarNotEqualStringGroupColumnBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into FilterStringGroupScalarNotEqualStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 156 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringScalarEqualStringGroupColumn(byte[], int) may expose internal representation by storing an externally mutable object into FilterStringScalarEqualStringGroupColumn.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringScalarGreaterEqualStringGroupColumn(byte[], int) may expose internal representation by storing an externally mutable object into FilterStringScalarGreaterEqualStringGroupColumn.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringScalarGreaterStringGroupColumn(byte[], int) may expose internal representation by storing an externally mutable object into FilterStringScalarGreaterStringGroupColumn.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringScalarLessEqualStringGroupColumn(byte[], int) may expose internal representation by storing an externally mutable object into FilterStringScalarLessEqualStringGroupColumn.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringScalarLessStringGroupColumn(byte[], int) may expose internal representation by storing an externally mutable object into FilterStringScalarLessStringGroupColumn.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterStringScalarNotEqualStringGroupColumn(byte[], int) may expose internal representation by storing an externally mutable object into FilterStringScalarNotEqualStringGroupColumn.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterVarCharColumnBetween(int, HiveVarchar, HiveVarchar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 43 | High |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterVarCharColumnBetween.getLeft() may expose internal representation by returning FilterVarCharColumnBetween.left | MALICIOUS_CODE | EI_EXPOSE_REP | 167 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterVarCharColumnBetween.getRight() may expose internal representation by returning FilterVarCharColumnBetween.right | MALICIOUS_CODE | EI_EXPOSE_REP | 175 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterVarCharColumnBetween.setLeft(byte[]) may expose internal representation by storing an externally mutable object into FilterVarCharColumnBetween.left | MALICIOUS_CODE | EI_EXPOSE_REP2 | 171 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterVarCharColumnBetween.setRight(byte[]) may expose internal representation by storing an externally mutable object into FilterVarCharColumnBetween.right | MALICIOUS_CODE | EI_EXPOSE_REP2 | 179 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterVarCharColumnNotBetween(int, HiveVarchar, HiveVarchar): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 43 | High |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterVarCharColumnNotBetween.getLeft() may expose internal representation by returning FilterVarCharColumnNotBetween.left | MALICIOUS_CODE | EI_EXPOSE_REP | 167 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterVarCharColumnNotBetween.getRight() may expose internal representation by returning FilterVarCharColumnNotBetween.right | MALICIOUS_CODE | EI_EXPOSE_REP | 175 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterVarCharColumnNotBetween.setLeft(byte[]) may expose internal representation by storing an externally mutable object into FilterVarCharColumnNotBetween.left | MALICIOUS_CODE | EI_EXPOSE_REP2 | 171 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterVarCharColumnNotBetween.setRight(byte[]) may expose internal representation by storing an externally mutable object into FilterVarCharColumnNotBetween.right | MALICIOUS_CODE | EI_EXPOSE_REP2 | 179 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterVarCharScalarEqualStringGroupColumn(HiveVarchar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterVarCharScalarGreaterEqualStringGroupColumn(HiveVarchar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterVarCharScalarGreaterStringGroupColumn(HiveVarchar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterVarCharScalarLessEqualStringGroupColumn(HiveVarchar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterVarCharScalarLessStringGroupColumn(HiveVarchar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterVarCharScalarNotEqualStringGroupColumn(HiveVarchar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Integral value cast to double and then passed to Math.ceil in org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FuncCeilLongToLong.evaluate(VectorizedRowBatch) | CORRECTNESS | ICAST_INT_CAST_TO_DOUBLE_PASSED_TO_CEIL | 68 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColEqualCharScalar(int, HiveChar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColEqualStringGroupScalarBase.getValue() may expose internal representation by returning StringGroupColEqualStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 147 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColEqualStringGroupScalarBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into StringGroupColEqualStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 151 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColEqualStringScalar(int, byte[], int) may expose internal representation by storing an externally mutable object into StringGroupColEqualStringScalar.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColEqualVarCharScalar(int, HiveVarchar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColGreaterCharScalar(int, HiveChar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColGreaterEqualCharScalar(int, HiveChar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColGreaterEqualStringGroupScalarBase.getValue() may expose internal representation by returning StringGroupColGreaterEqualStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 147 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColGreaterEqualStringGroupScalarBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into StringGroupColGreaterEqualStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 151 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColGreaterEqualStringScalar(int, byte[], int) may expose internal representation by storing an externally mutable object into StringGroupColGreaterEqualStringScalar.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColGreaterEqualVarCharScalar(int, HiveVarchar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColGreaterStringGroupScalarBase.getValue() may expose internal representation by returning StringGroupColGreaterStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 147 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColGreaterStringGroupScalarBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into StringGroupColGreaterStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 151 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColGreaterStringScalar(int, byte[], int) may expose internal representation by storing an externally mutable object into StringGroupColGreaterStringScalar.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColGreaterVarCharScalar(int, HiveVarchar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColLessCharScalar(int, HiveChar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColLessEqualCharScalar(int, HiveChar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColLessEqualStringGroupScalarBase.getValue() may expose internal representation by returning StringGroupColLessEqualStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 147 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColLessEqualStringGroupScalarBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into StringGroupColLessEqualStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 151 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColLessEqualStringScalar(int, byte[], int) may expose internal representation by storing an externally mutable object into StringGroupColLessEqualStringScalar.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColLessEqualVarCharScalar(int, HiveVarchar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColLessStringGroupScalarBase.getValue() may expose internal representation by returning StringGroupColLessStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 147 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColLessStringGroupScalarBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into StringGroupColLessStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 151 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColLessStringScalar(int, byte[], int) may expose internal representation by storing an externally mutable object into StringGroupColLessStringScalar.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColLessVarCharScalar(int, HiveVarchar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColNotEqualCharScalar(int, HiveChar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColNotEqualStringGroupScalarBase.getValue() may expose internal representation by returning StringGroupColNotEqualStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 147 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColNotEqualStringGroupScalarBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into StringGroupColNotEqualStringGroupScalarBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 151 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColNotEqualStringScalar(int, byte[], int) may expose internal representation by storing an externally mutable object into StringGroupColNotEqualStringScalar.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupColNotEqualVarCharScalar(int, HiveVarchar, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupScalarEqualStringGroupColumnBase.getValue() may expose internal representation by returning StringGroupScalarEqualStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 147 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupScalarEqualStringGroupColumnBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into StringGroupScalarEqualStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 151 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupScalarGreaterEqualStringGroupColumnBase.getValue() may expose internal representation by returning StringGroupScalarGreaterEqualStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 147 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupScalarGreaterEqualStringGroupColumnBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into StringGroupScalarGreaterEqualStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 151 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupScalarGreaterStringGroupColumnBase.getValue() may expose internal representation by returning StringGroupScalarGreaterStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 147 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupScalarGreaterStringGroupColumnBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into StringGroupScalarGreaterStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 151 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupScalarLessEqualStringGroupColumnBase.getValue() may expose internal representation by returning StringGroupScalarLessEqualStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 147 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupScalarLessEqualStringGroupColumnBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into StringGroupScalarLessEqualStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 151 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupScalarLessStringGroupColumnBase.getValue() may expose internal representation by returning StringGroupScalarLessStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 147 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupScalarLessStringGroupColumnBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into StringGroupScalarLessStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 151 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupScalarNotEqualStringGroupColumnBase.getValue() may expose internal representation by returning StringGroupScalarNotEqualStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP | 147 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringGroupScalarNotEqualStringGroupColumnBase.setValue(byte[]) may expose internal representation by storing an externally mutable object into StringGroupScalarNotEqualStringGroupColumnBase.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 151 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringScalarEqualStringGroupColumn(byte[], int, int) may expose internal representation by storing an externally mutable object into StringScalarEqualStringGroupColumn.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 40 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringScalarGreaterEqualStringGroupColumn(byte[], int, int) may expose internal representation by storing an externally mutable object into StringScalarGreaterEqualStringGroupColumn.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 40 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringScalarGreaterStringGroupColumn(byte[], int, int) may expose internal representation by storing an externally mutable object into StringScalarGreaterStringGroupColumn.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 40 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringScalarLessEqualStringGroupColumn(byte[], int, int) may expose internal representation by storing an externally mutable object into StringScalarLessEqualStringGroupColumn.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 40 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringScalarLessStringGroupColumn(byte[], int, int) may expose internal representation by storing an externally mutable object into StringScalarLessStringGroupColumn.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 40 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.StringScalarNotEqualStringGroupColumn(byte[], int, int) may expose internal representation by storing an externally mutable object into StringScalarNotEqualStringGroupColumn.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 40 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.VarCharScalarEqualStringGroupColumn(HiveVarchar, int, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 42 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.VarCharScalarGreaterEqualStringGroupColumn(HiveVarchar, int, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 42 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.VarCharScalarGreaterStringGroupColumn(HiveVarchar, int, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 42 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.VarCharScalarLessEqualStringGroupColumn(HiveVarchar, int, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 42 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.VarCharScalarLessStringGroupColumn(HiveVarchar, int, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 42 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.exec.vector.expressions.gen.VarCharScalarNotEqualStringGroupColumn(HiveVarchar, int, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 42 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.udf.VectorUDFAdaptor.getArgDescs() may expose internal representation by returning VectorUDFAdaptor.argDescs | MALICIOUS_CODE | EI_EXPOSE_REP | 365 | Medium |
| new org.apache.hadoop.hive.ql.exec.vector.udf.VectorUDFAdaptor(ExprNodeGenericFuncDesc, int, String, VectorUDFArgDesc[]) may expose internal representation by storing an externally mutable object into VectorUDFAdaptor.argDescs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 75 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.udf.VectorUDFAdaptor.setArgDescs(VectorUDFArgDesc[]) may expose internal representation by storing an externally mutable object into VectorUDFAdaptor.argDescs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 369 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unused public or protected field: org.apache.hadoop.hive.ql.history.HiveHistory$SessionInfo.sessionId | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.history.HiveHistoryImpl(SessionState): new java.io.PrintWriter(String) | I18N | DM_DEFAULT_ENCODING | 104 | High |
| org.apache.hadoop.hive.ql.history.HiveHistoryImpl.finalize() is public; should be protected | MALICIOUS_CODE | FI_PUBLIC_SHOULD_BE_PROTECTED | 363 | Medium |
| Bad attempt to compute absolute value of signed random integer in new org.apache.hadoop.hive.ql.history.HiveHistoryImpl(SessionState) | CORRECTNESS | RV_ABSOLUTE_VALUE_OF_RANDOM_INT | 101 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.history.HiveHistoryUtil.parseHiveHistory(String, HiveHistory$Listener): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 46 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to sess in org.apache.hadoop.hive.ql.hooks.DriverTestHook.preDriverRun(HiveDriverRunHookContext) | STYLE | DLS_DEAD_LOCAL_STORE | 33 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of path, which is known to be non-null in org.apache.hadoop.hive.ql.hooks.Entity.getLocation() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 290 | Medium |
| Class org.apache.hadoop.hive.ql.hooks.Entity defines non-transient non-serializable instance field d | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible null pointer dereference of o1 on branch that might be infeasible in org.apache.hadoop.hive.ql.hooks.PostExecutePrinter$DependencyKeyComp.compare(Map$Entry, Map$Entry) | STYLE | NP_NULL_ON_SOME_PATH_MIGHT_BE_INFEASIBLE | 62 | Medium |
| Should org.apache.hadoop.hive.ql.hooks.PostExecutePrinter$DependencyKeyComp be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.hooks.ReadEntity overrides equals in Entity and may not be symmetric | CORRECTNESS | EQ_OVERRIDING_EQUALS_NOT_SYMMETRIC | 145 | Medium |
| org.apache.hadoop.hive.ql.hooks.ReadEntity defines equals but not hashCode | BAD_PRACTICE | HE_EQUALS_NO_HASHCODE | 145 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.hooks.WriteEntity overrides equals in Entity and may not be symmetric | CORRECTNESS | EQ_OVERRIDING_EQUALS_NOT_SYMMETRIC | 165 | Medium |
| org.apache.hadoop.hive.ql.hooks.WriteEntity defines equals but not hashCode | BAD_PRACTICE | HE_EQUALS_NO_HASHCODE | 165 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Nullcheck of indexTblPartDesc at line 103 of value previously dereferenced in org.apache.hadoop.hive.ql.index.AggregateIndexHandler.getIndexBuilderMapRedTask(Set, Set, Index, boolean, PartitionDesc, String, PartitionDesc, String, String) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 100 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.index.HiveIndex.INDEX_TABLE_CREATETIME isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 30 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.index.HiveIndexResult.add(Text): new String(byte[], int, int) | I18N | DM_DEFAULT_ENCODING | 157 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.index.HiveIndexResult.add(Text): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 143 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.index.HiveIndexResult$IBucket defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 76 | Medium |
| org.apache.hadoop.hive.ql.index.HiveIndexResult$IBucket.equals(Object) does not check for null argument | BAD_PRACTICE | NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT | 76 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.index.IndexSearchCondition.getFields() may expose internal representation by returning IndexSearchCondition.fields | MALICIOUS_CODE | EI_EXPOSE_REP | 106 | Medium |
| new org.apache.hadoop.hive.ql.index.IndexSearchCondition(ExprNodeColumnDesc, String, ExprNodeConstantDesc, ExprNodeGenericFuncDesc, String[]) may expose internal representation by storing an externally mutable object into IndexSearchCondition.fields | MALICIOUS_CODE | EI_EXPOSE_REP2 | 70 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Nullcheck of indexTblPartDesc at line 238 of value previously dereferenced in org.apache.hadoop.hive.ql.index.bitmap.BitmapIndexHandler.getIndexBuilderMapRedTask(Set, Set, List, boolean, PartitionDesc, String, PartitionDesc, String, String) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 234 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible null pointer dereference of work in org.apache.hadoop.hive.ql.index.compact.CompactIndexHandler.generateIndexQuery(List, ExprNodeDesc, ParseContext, HiveIndexQueryContext) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 214 | Medium |
| Nullcheck of indexTblPartDesc at line 108 of value previously dereferenced in org.apache.hadoop.hive.ql.index.compact.CompactIndexHandler.getIndexBuilderMapRedTask(Set, Set, List, boolean, PartitionDesc, String, PartitionDesc, String, String) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 104 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.AcidUtils$ParsedDelta defines compareTo(AcidUtils$ParsedDelta) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 241 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.io.BucketizedHiveInputSplit(InputSplit[], String) may expose internal representation by storing an externally mutable object into BucketizedHiveInputSplit.inputSplits | MALICIOUS_CODE | EI_EXPOSE_REP2 | 60 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Comparison of String objects using == or != in org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.sampleSplits(List) | BAD_PRACTICE | ES_COMPARING_STRINGS_WITH_EQ | 626 | Medium |
| Nullcheck of HiveInputFormat.mrwork at line 378 of value previously dereferenced in org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getCombineSplits(JobConf, int, Map) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 329 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unchecked/unconfirmed cast from org.apache.hadoop.conf.Configuration to org.apache.hadoop.mapred.JobConf in new org.apache.hadoop.hive.ql.io.CombineHiveRecordReader(InputSplit, Configuration, Reporter, Integer) | STYLE | BC_UNCONFIRMED_CAST | 47 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to path in org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getMatchingPath(Map, Path) | STYLE | DLS_DEAD_LOCAL_STORE | 456 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Nullcheck of table at line 295 of value previously dereferenced in org.apache.hadoop.hive.ql.io.HiveInputFormat.addSplitsForGroup(List, TableScanOperator, JobConf, InputFormat, Class, int, TableDesc, List) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 284 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.HiveKey doesn't override org.apache.hadoop.io.BytesWritable.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.HiveKey$Comparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 72 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.RCFile$KeyBuffer.getEachColumnUncompressedValueLen() may expose internal representation by returning RCFile$KeyBuffer.eachColumnUncompressedValueLen | MALICIOUS_CODE | EI_EXPOSE_REP | 524 | Medium |
| org.apache.hadoop.hive.ql.io.RCFile$KeyBuffer.getEachColumnValueLen() may expose internal representation by returning RCFile$KeyBuffer.eachColumnValueLen | MALICIOUS_CODE | EI_EXPOSE_REP | 528 | Medium |
| org.apache.hadoop.hive.ql.io.RCFile$KeyBuffer defines compareTo(Object) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 519 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.io.RCFile$Reader.init(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 1474 | High |
| Inconsistent synchronization of org.apache.hadoop.hive.ql.io.RCFile$Reader.readRowsIndexInBuffer; locked 66% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 1697 | Medium |
| org.apache.hadoop.hive.ql.io.RCFile$Reader.seekToNextKeyBuffer() ignores result of org.apache.hadoop.fs.FSDataInputStream.skip(long) | BAD_PRACTICE | SR_NOT_CHECKED | 1657 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.io.RCFile$ValueBuffer(RCFile$KeyBuffer, int, boolean[], CompressionCodec, boolean) may expose internal representation by storing an externally mutable object into RCFile$ValueBuffer.skippedColIDs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 645 | Medium |
| org.apache.hadoop.hive.ql.io.RCFile$ValueBuffer defines compareTo(Object) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 786 | Medium |
| org.apache.hadoop.hive.ql.io.RCFile$ValueBuffer.readFields(DataInput) ignores result of java.io.DataInput.skipBytes(int) | BAD_PRACTICE | SR_NOT_CHECKED | 714 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.io.RCFile$Writer(FileSystem, Configuration, Path, int, short, long, Progressable, SequenceFile$Metadata, CompressionCodec): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 830 | High |
| org.apache.hadoop.hive.ql.io.RCFile$Writer.COLUMNS_BUFFER_SIZE_CONF_STR isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 842 | High |
| org.apache.hadoop.hive.ql.io.RCFile$Writer.flushRecords() may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 1152 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.io.RCFile$Writer$ColumnBuffer be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 875 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.RecordIdentifier defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 200 | High |
| org.apache.hadoop.hive.ql.io.RecordIdentifier.compareTo(RecordIdentifier) negates the return value of org.apache.hadoop.hive.ql.io.RecordIdentifier.compareTo(RecordIdentifier) | BAD_PRACTICE | RV_NEGATING_RESULT_OF_COMPARETO | 179 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.io.RecordIdentifier$Field defines non-transient non-serializable instance field fieldOI | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.io.SymbolicInputFormat.rework(HiveConf, MapredWork): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 70 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.io.SymlinkTextInputFormat.getTargetPathsFromSymlinksDirs(Configuration, Path[], List, List): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 198 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new RuntimeException(String, Throwable) not thrown in org.apache.hadoop.hive.ql.io.VectorizedRCFileRecordReader.createValue() | CORRECTNESS | RV_EXCEPTION_NOT_THROWN | 153 | High |
| new RuntimeException(String, Throwable) not thrown in org.apache.hadoop.hive.ql.io.VectorizedRCFileRecordReader.next(NullWritable, VectorizedRowBatch) | CORRECTNESS | RV_EXCEPTION_NOT_THROWN | 196 | High |
| Unread public/protected field: org.apache.hadoop.hive.ql.io.VectorizedRCFileRecordReader.conf | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 109 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.io.filters.BloomFilter.addString(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 119 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.io.filters.BloomFilter.testString(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 165 | High |
| Load of known null value in org.apache.hadoop.hive.ql.io.filters.BloomFilter.add(byte[]) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 83 | Medium |
| Load of known null value in org.apache.hadoop.hive.ql.io.filters.BloomFilter.test(byte[]) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 133 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.io.filters.BloomFilter$BitSet be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 233 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Switch statement found in org.apache.hadoop.hive.ql.io.filters.Murmur3.hash32(byte[], int, int) where one case falls through to the next case | STYLE | SF_SWITCH_FALLTHROUGH | 100 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.io.filters.Murmur3.hash128(byte[], int, int) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 268 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.io.filters.Murmur3.hash32(byte[], int, int) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 98 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.io.filters.Murmur3.hash64(byte[], int, int) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 173 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.io.merge.MergeFileTask.execute(DriverContext) | STYLE | REC_CATCH_EXCEPTION | 155 | Medium |
| Class org.apache.hadoop.hive.ql.io.merge.MergeFileTask defines non-transient non-serializable instance field jobExecHelper | BAD_PRACTICE | SE_BAD_FIELD | High | |
| org.apache.hadoop.hive.ql.io.merge.MergeFileTask is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 53 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.io.merge.MergeFileWork defines non-transient non-serializable instance field inputPaths | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.io.merge.MergeFileWork defines non-transient non-serializable instance field outputDir | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Result of integer multiplication cast to long in org.apache.hadoop.hive.ql.io.orc.DynamicByteArray.getSizeInBytes() | STYLE | ICAST_INTEGER_MULTIPLY_CAST_TO_LONG | 301 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcFileKeyWrapper defines compareTo(OrcFileKeyWrapper) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 102 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcFileValueWrapper defines compareTo(OrcFileValueWrapper) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 83 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to end in org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$SplitGenerator.createSplit(long, long, ReaderImpl$FileMetaInfo) | STYLE | DLS_DEAD_LOCAL_STORE | 714 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unused field: org.apache.hadoop.hive.ql.io.orc.OrcNewSplit.writerVersion | PERFORMANCE | UUF_UNUSED_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat$DummyOrcRecordUpdater be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 211 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$BinaryStatistics.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 4348 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$BinaryStatistics defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$BloomFilter.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 8167 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$BloomFilter defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$BloomFilterIndex.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 8700 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$BloomFilterIndex defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$BucketStatistics.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 2083 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$BucketStatistics defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$ColumnEncoding.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 10082 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$ColumnEncoding defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$ColumnStatistics.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 4999 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$ColumnStatistics defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$DateStatistics.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 3345 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$DateStatistics defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$DecimalStatistics.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 2584 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$DecimalStatistics defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$DoubleStatistics.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 792 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$DoubleStatistics defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$Footer.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 15721 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$Footer defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$IntegerStatistics.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 234 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$IntegerStatistics defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$Metadata.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 14879 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$Metadata defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$PostScript.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 17789 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$PostScript defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$RowIndex.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 7476 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$RowIndex defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$RowIndexEntry.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 6831 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$RowIndexEntry defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$Stream.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 9389 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$Stream defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$StringStatistics.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 1368 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$StringStatistics defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$StripeFooter.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 10704 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$StripeFooter defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$StripeInformation.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 12969 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$StripeInformation defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$StripeStatistics.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 14205 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$StripeStatistics defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$TimestampStatistics.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 3854 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$TimestampStatistics defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$Type.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 11803 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$Type defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcProto$UserMetadataItem.PARSER isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 13649 | High |
| Class org.apache.hadoop.hive.ql.io.orc.OrcProto$UserMetadataItem defines non-transient non-serializable instance field unknownFields | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unchecked/unconfirmed cast from org.apache.hadoop.hive.ql.io.RecordIdentifier to org.apache.hadoop.hive.ql.io.orc.OrcRawRecordMerger$ReaderKey in org.apache.hadoop.hive.ql.io.orc.OrcRawRecordMerger.next(RecordIdentifier, OrcStruct) | STYLE | BC_UNCONFIRMED_CAST | 579 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcRawRecordMerger$ReaderKey defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 108 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unused field: org.apache.hadoop.hive.ql.io.orc.OrcSplit.writerVersion | PERFORMANCE | UUF_UNUSED_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcStruct$OrcListObjectInspector defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 498 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcStruct$OrcMapObjectInspector defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 404 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcStruct$OrcStructInspector defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 295 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.OrcUnion$OrcUnionObjectInspector defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 142 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.Reader$Options defines clone() but doesn't implement Cloneable | BAD_PRACTICE | CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE | 214 | High |
| org.apache.hadoop.hive.ql.io.orc.Reader$Options.getColumnNames() may expose internal representation by returning Reader$Options.columnNames | MALICIOUS_CODE | EI_EXPOSE_REP | 202 | Medium |
| org.apache.hadoop.hive.ql.io.orc.Reader$Options.getInclude() may expose internal representation by returning Reader$Options.include | MALICIOUS_CODE | EI_EXPOSE_REP | 186 | Medium |
| org.apache.hadoop.hive.ql.io.orc.Reader$Options.include(boolean[]) may expose internal representation by storing an externally mutable object into Reader$Options.include | MALICIOUS_CODE | EI_EXPOSE_REP2 | 157 | Medium |
| org.apache.hadoop.hive.ql.io.orc.Reader$Options.searchArgument(SearchArgument, String[]) may expose internal representation by storing an externally mutable object into Reader$Options.columnNames | MALICIOUS_CODE | EI_EXPOSE_REP2 | 181 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl$BinaryTreeReader.skipRows(long) ignores result of org.apache.hadoop.hive.ql.io.orc.InStream.skip(long) | BAD_PRACTICE | SR_NOT_CHECKED | 1035 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl$DiskRange defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 2837 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl$DoubleTreeReader.skipRows(long) ignores result of org.apache.hadoop.hive.ql.io.orc.InStream.skip(long) | BAD_PRACTICE | SR_NOT_CHECKED | 944 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl$Index.getBloomFilterIndex() may expose internal representation by returning RecordReaderImpl$Index.bloomFilterIndex | MALICIOUS_CODE | EI_EXPOSE_REP | 136 | Medium |
| org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl$Index.getRowGroupIndex() may expose internal representation by returning RecordReaderImpl$Index.rowGroupIndex | MALICIOUS_CODE | EI_EXPOSE_REP | 132 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl$StringDictionaryTreeReader.nextVector(Object, long): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 1713 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl$StringDirectTreeReader.skipRows(long) ignores result of org.apache.hadoop.hive.ql.io.orc.InStream.skip(long) | BAD_PRACTICE | SR_NOT_CHECKED | 1553 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.SerializationUtils.readLongLE(InputStream) ignores result of java.io.InputStream.read(byte[], int, int) | BAD_PRACTICE | RR_NOT_CHECKED | 94 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.orc.StreamName.compareTo(StreamName) negates the return value of Enum.compareTo(Enum) | BAD_PRACTICE | RV_NEGATING_RESULT_OF_COMPARETO | 54 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Inconsistent synchronization of org.apache.hadoop.hive.ql.io.orc.WriterImpl.rawWriter; locked 61% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 2106 | Medium |
| Inconsistent synchronization of org.apache.hadoop.hive.ql.io.orc.WriterImpl.rowsInStripe; locked 63% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 2505 | Medium |
| Possible null pointer dereference of stripeStatistics in org.apache.hadoop.hive.ql.io.orc.WriterImpl.appendStripe(byte[], int, int, StripeInformation, OrcProto$StripeStatistics) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 2505 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.io.orc.WriterImpl$BufferedStream be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 365 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.io.orc.WriterImpl$DirectStream be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 458 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.io.parquet.LeafFilterFactory$BinaryFilterPredicateLeafBuilder be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 122 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxed value is unboxed and then immediately reboxed in org.apache.hadoop.hive.ql.io.parquet.LeafFilterFactory$BooleanFilterPredicateLeafBuilder.buildPredict(PredicateLeaf$Operator, Object, String) | PERFORMANCE | BX_UNBOXING_IMMEDIATELY_REBOXED | 115 | Medium |
| Should org.apache.hadoop.hive.ql.io.parquet.LeafFilterFactory$BooleanFilterPredicateLeafBuilder be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 106 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.io.parquet.LeafFilterFactory$DoubleFilterPredicateLeafBuilder be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 84 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.io.parquet.LeafFilterFactory$IntFilterPredicateLeafBuilder be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.io.parquet.LeafFilterFactory$LongFilterPredicateLeafBuilder be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 63 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Nullcheck of VectorizedParquetInputFormat$VectorizedParquetRecordReader.assigners at line 123 of value previously dereferenced in org.apache.hadoop.hive.ql.io.parquet.VectorizedParquetInputFormat$VectorizedParquetRecordReader.next(NullWritable, VectorizedRowBatch) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 112 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Nullcheck of value at line 205 of value previously dereferenced in org.apache.hadoop.hive.ql.io.parquet.read.ParquetRecordReaderWrapper.next(Void, ArrayWritable) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 203 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.io.parquet.serde.ArrayWritableObjectInspector$StructFieldImpl be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 219 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe.PRECISION_TO_BYTE_COUNT is a mutable array | MALICIOUS_CODE | MS_MUTABLE_ARRAY | 60 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.io.parquet.write.ParquetRecordWriterWrapper.initializeSerProperties(JobContext, Properties) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 79 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread public/protected field: org.apache.hadoop.hive.ql.io.rcfile.merge.RCFileBlockMergeRecordReader.conf | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 48 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.rcfile.merge.RCFileKeyBufferWrapper defines compareTo(RCFileKeyBufferWrapper) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 62 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.rcfile.merge.RCFileValueBufferWrapper defines compareTo(RCFileValueBufferWrapper) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 48 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.rcfile.stats.PartialScanTask.INPUT_SEPERATOR isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 269 | High |
| Class org.apache.hadoop.hive.ql.io.rcfile.stats.PartialScanTask defines non-transient non-serializable instance field jobExecHelper | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.io.rcfile.stats.PartialScanWork.inputPaths is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.io.rcfile.truncate.ColumnTruncateMapper.BACKUP_PREFIX isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 218 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.io.rcfile.truncate.ColumnTruncateTask.execute(DriverContext) | STYLE | REC_CATCH_EXCEPTION | 221 | Medium |
| Class org.apache.hadoop.hive.ql.io.rcfile.truncate.ColumnTruncateTask defines non-transient non-serializable instance field jobExecHelper | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.io.rcfile.truncate.ColumnTruncateWork defines non-transient non-serializable instance field outputDir | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.lib.RuleExactMatch.cost(Stack) invokes inefficient new String() constructor | PERFORMANCE | DM_STRING_VOID_CTOR | 67 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager.getLockObjects(QueryPlan, Database, Table, Partition, HiveLockMode) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 331 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.lockmgr.EmbeddedLockManager$SimpleHiveLock defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 450 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.lockmgr.HiveLockObject.getPaths() may expose internal representation by returning HiveLockObject.pathNames | MALICIOUS_CODE | EI_EXPOSE_REP | 200 | Medium |
| new org.apache.hadoop.hive.ql.lockmgr.HiveLockObject(String[], HiveLockObject$HiveLockObjectData) may expose internal representation by storing an externally mutable object into HiveLockObject.pathNames | MALICIOUS_CODE | EI_EXPOSE_REP2 | 182 | Medium |
| org.apache.hadoop.hive.ql.lockmgr.HiveLockObject.getDisplayName() concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 236 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLock defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 64 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.lockPrimitive(HiveLockObject, HiveLockMode, boolean, boolean, Set) might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 395 | Medium |
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.getSequenceNumber(String, String) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 638 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.getLocks(HiveConf, HiveLockObject, String, boolean, boolean): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 573 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.lockPrimitive(HiveLockObject, HiveLockMode, boolean, boolean, Set): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 393 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.lockPrimitive(HiveLockObject, HiveLockMode, boolean, boolean, Set): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 360 | High |
| org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.getSequenceNumber(String, String) invokes inefficient new Integer(String) constructor; use Integer.valueOf(String) instead | PERFORMANCE | DM_NUMBER_CTOR | 638 | Medium |
| org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.getObjectNames(HiveLockObject) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 130 | Medium |
| Write to static field org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.curatorFramework from instance method org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.setContext(HiveLockManagerCtx) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 82 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.log.PerfLogger.PerfLogBegin(String, String) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | 122 | Medium |
| org.apache.hadoop.hive.ql.log.PerfLogger.PerfLogEnd(String, String) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | 136 | Medium |
| The method name org.apache.hadoop.hive.ql.log.PerfLogger.PerfLogBegin(String, String) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 120 | Medium |
| The method name org.apache.hadoop.hive.ql.log.PerfLogger.PerfLogEnd(String, String) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 132 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.metadata.CheckJDOException is not derived from an Exception, even though it is named as such | BAD_PRACTICE | NM_CLASS_NOT_EXCEPTION | 25 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.metadata.CheckResult$PartitionResult defines compareTo(CheckResult$PartitionResult) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 137 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to newTPart in org.apache.hadoop.hive.ql.metadata.Hive.loadPartition(Path, Table, Map, boolean, boolean, boolean, boolean, boolean, boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 1411 | Medium |
| Dead store to shims in org.apache.hadoop.hive.ql.metadata.Hive.replaceFiles(Path, Path, Path, Path, HiveConf, boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 2806 | Medium |
| Comparison of String objects using == or != in org.apache.hadoop.hive.ql.metadata.Hive.createIndex(String, String, String, List, String, boolean, String, String, String, String, String, Map, Map, Map, String, String, String, String, String, String) | BAD_PRACTICE | ES_COMPARING_STRINGS_WITH_EQ | 772 | High |
| Redundant nullcheck of val, which is known to be non-null in org.apache.hadoop.hive.ql.metadata.Hive.renamePartition(Table, Map, Partition) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 635 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.metadata.Hive.createIndex(String, String, String, List, String, boolean, String, String, String, String, String, Map, Map, Map, String, String, String, String, String, String) | STYLE | REC_CATCH_EXCEPTION | 909 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.metadata.HiveUtils.<static initializer for HiveUtils>(): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 107 | High |
| Possible null pointer dereference of ret in org.apache.hadoop.hive.ql.metadata.HiveUtils.getAuthorizeProviderManager(Configuration, String, HiveAuthenticationProvider, boolean) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 393 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of pm, which is known to be non-null in org.apache.hadoop.hive.ql.metadata.Partition.setProtectMode(ProtectMode) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 549 | Medium |
| Class org.apache.hadoop.hive.ql.metadata.Partition defines non-transient non-serializable instance field deserializer | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.metadata.RandomDimension doesn't override Dimension.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of matcher, which is known to be non-null in org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient.getTables(String, String) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 172 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of org.apache.hadoop.hive.ql.metadata.Table.getPartCols(), which is known to be non-null in org.apache.hadoop.hive.ql.metadata.Table.isPartitioned() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 657 | Medium |
| Redundant nullcheck of pm, which is known to be non-null in org.apache.hadoop.hive.ql.metadata.Table.setProtectMode(ProtectMode) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 847 | Medium |
| Class org.apache.hadoop.hive.ql.metadata.Table defines non-transient non-serializable instance field path | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.metadata.Table defines non-transient non-serializable instance field deserializer | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.metadata.VirtualColumn.VIRTUAL_COLUMN_NAMES isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 66 | High |
| Class org.apache.hadoop.hive.ql.metadata.VirtualColumn defines non-transient non-serializable instance field oi | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of protectMode, which is known to be non-null in org.apache.hadoop.hive.ql.metadata.formatting.MetaDataFormatUtils.getPartitionMetaDataInformation(StringBuilder, Partition) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 362 | Medium |
| Redundant nullcheck of protectMode, which is known to be non-null in org.apache.hadoop.hive.ql.metadata.formatting.MetaDataFormatUtils.getTableMetaDataInformation(StringBuilder, Table) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 341 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.AbstractBucketJoinProc.checkConvertBucketMapJoin(BucketJoinProcCtx, Map, Map, String, List) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 317 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.AbstractSMBJoinProc.canConvertJoinToBucketMapJoin(JoinOperator, SortBucketJoinProcCtx) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 491 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.optimizer.BucketingSortingReduceSinkOptimizer$BucketSortReduceSinkProcessor be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 120 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.ConstantPropagateProcFactory.typeCast(ExprNodeDesc, TypeInfo) invokes inefficient new Byte(byte) constructor; use Byte.valueOf(byte) instead | PERFORMANCE | DM_NUMBER_CTOR | 169 | Medium |
| org.apache.hadoop.hive.ql.optimizer.ConstantPropagateProcFactory.typeCast(ExprNodeDesc, TypeInfo) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | 175 | Medium |
| org.apache.hadoop.hive.ql.optimizer.ConstantPropagateProcFactory.typeCast(ExprNodeDesc, TypeInfo) invokes inefficient new Short(short) constructor; use Short.valueOf(short) instead | PERFORMANCE | DM_NUMBER_CTOR | 172 | Medium |
| org.apache.hadoop.hive.ql.optimizer.ConstantPropagateProcFactory.propagatableUdfs isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 93 | High |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.optimizer.ConstantPropagateProcFactory.isDeterministicUdf(GenericUDF) | STYLE | REC_CATCH_EXCEPTION | 282 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.optimizer.ConstantPropagateProcFactory.typeCast(ExprNodeDesc, TypeInfo) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 167 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of parentColNames, which is known to be non-null in org.apache.hadoop.hive.ql.optimizer.ConvertJoinMapJoin.checkColEquality(List, List, Map, TezBucketJoinProcCtx) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 477 | Medium |
| Redundant nullcheck of bigInputStat, which is known to be non-null in org.apache.hadoop.hive.ql.optimizer.ConvertJoinMapJoin.getMapJoinConversionPos(JoinOperator, OptimizeTezProcContext, int) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 566 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to uPrsCtx in org.apache.hadoop.hive.ql.optimizer.GenMRUnion1.processMapOnlyUnion(UnionOperator, Stack, GenMRProcContext, UnionProcContext) | STYLE | DLS_DEAD_LOCAL_STORE | 78 | Medium |
| Nullcheck of uPrsCtx at line 216 of value previously dereferenced in org.apache.hadoop.hive.ql.optimizer.GenMRUnion1.process(Node, Stack, NodeProcessorCtx, Object[]) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 216 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.GenMapRedUtils.splitPlan(ReduceSinkOperator, GenMRProcContext) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 413 | Medium |
| Load of known null value in org.apache.hadoop.hive.ql.optimizer.GenMapRedUtils.setMapWork(MapWork, ParseContext, Set, PrunedPartitionList, Operator, String, HiveConf, boolean) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 600 | Medium |
| Possible null pointer dereference of task in org.apache.hadoop.hive.ql.optimizer.GenMapRedUtils.internTableDesc(Task, Interner) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 894 | Medium |
| Possible null pointer dereference of task in org.apache.hadoop.hive.ql.optimizer.GenMapRedUtils.setKeyAndValueDescForTaskTree(Task) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 868 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to opToPartPruner in org.apache.hadoop.hive.ql.optimizer.GlobalLimitOptimizer.transform(ParseContext) | STYLE | DLS_DEAD_LOCAL_STORE | 72 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.optimizer.GroupByOptimizer$GroupByOptimizerContext be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 563 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.MapJoinProcessor.getMapJoinDesc(HiveConf, JoinOperator, boolean, String[], List, int, boolean) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 1140 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.MapJoinProcessor$CurrentMapJoin.findGrandChildSubqueryMapjoin(MapJoinProcessor$MapJoinWalkerCtx, MapJoinOperator) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 761 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.optimizer.NonBlockingOpDeDupProc$FilterDedup be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 213 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.optimizer.NonBlockingOpDeDupProc$SelectDedup be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 79 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.optimizer.SimpleFetchOptimizer$FetchData be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 320 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.optimizer.SizeBasedBigTableSelectorForAutoSMJ.getSize(HiveConf, String, Path) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 60 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.SortBucketJoinProcCtx.getSrcs() may expose internal representation by returning SortBucketJoinProcCtx.srcs | MALICIOUS_CODE | EI_EXPOSE_REP | 37 | Medium |
| org.apache.hadoop.hive.ql.optimizer.SortBucketJoinProcCtx.setSrcs(String[]) may expose internal representation by storing an externally mutable object into SortBucketJoinProcCtx.srcs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 41 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.SortedDynPartitionOptimizer$SortedDynamicPartitionProc.getReduceSinkDesc(List, List, List, ArrayList, ArrayList, int, Operator, AcidUtils$Operation) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 391 | Medium |
| Should org.apache.hadoop.hive.ql.optimizer.SortedDynPartitionOptimizer$SortedDynamicPartitionProc be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 112 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.optimizer.StatsOptimizer$MetaDataProcessor.process(Node, Stack, NodeProcessorCtx, Object[]) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 285 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Format string should use %n rather than \n in org.apache.hadoop.hive.ql.optimizer.calcite.stats.HiveRelMdRowCount$PKFKRelationInfo.toString() | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 114 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible null pointer dereference of b in org.apache.hadoop.hive.ql.optimizer.calcite.translator.ASTBuilder.join(ASTNode, ASTNode, JoinRelType, ASTNode, boolean) on exception path | CORRECTNESS | NP_NULL_ON_SOME_PATH_EXCEPTION | 95 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| instanceof will always return true for all nonnull values in org.apache.hadoop.hive.ql.optimizer.calcite.translator.JoinCondTypeCheckProcFactory$JoinCondDefaultExprProcessor.validateUDF(ASTNode, boolean, TypeCheckCtx, FunctionInfo, List, GenericUDF), since all org.apache.hadoop.hive.ql.udf.generic.GenericUDFBaseCompare are instances of org.apache.hadoop.hive.ql.udf.generic.GenericUDFBaseCompare | STYLE | BC_VACUOUS_INSTANCEOF | 225 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.calcite.translator.PlanModifierForASTConv.generateInvalidSchemaMessage(Project, List, int) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 192 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unchecked/unconfirmed cast from org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo to org.apache.hadoop.hive.serde2.typeinfo.BaseCharTypeInfo in org.apache.hadoop.hive.ql.optimizer.calcite.translator.TypeConverter.convert(PrimitiveTypeInfo, RelDataTypeFactory) | STYLE | BC_UNCONFIRMED_CAST | 175 | Medium |
| Unchecked/unconfirmed cast from org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo to org.apache.hadoop.hive.serde2.typeinfo.DecimalTypeInfo in org.apache.hadoop.hive.ql.optimizer.calcite.translator.TypeConverter.convert(PrimitiveTypeInfo, RelDataTypeFactory) | STYLE | BC_UNCONFIRMED_CAST | 169 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.correlation.CorrelationOptimizer.findPossibleAutoConvertedJoinOperators() invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | 157 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.optimizer.correlation.CorrelationOptimizer$CorrelationNodeProcCtx be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 663 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Null pointer dereference of operator in org.apache.hadoop.hive.ql.optimizer.correlation.CorrelationUtilities.isNullOperator(Operator) | CORRECTNESS | NP_ALWAYS_NULL | 455 | Medium |
| Load of known null value in org.apache.hadoop.hive.ql.optimizer.correlation.CorrelationUtilities.isNullOperator(Operator) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 455 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.optimizer.correlation.ReduceSinkDeDuplication$ReduceSinkDeduplicateProcCtx be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 111 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Invocation of toString on org.apache.hadoop.hive.ql.metadata.Partition.getPath() in org.apache.hadoop.hive.ql.optimizer.listbucketingpruner.ListBucketingPruner.execute(ParseContext, Partition, ExprNodeDesc) | CORRECTNESS | DMI_INVOKING_TOSTRING_ON_ARRAY | 218 | High |
| Invocation of toString on org.apache.hadoop.hive.ql.metadata.Partition.getPath() in org.apache.hadoop.hive.ql.optimizer.listbucketingpruner.ListBucketingPruner.generateFinalPath(Partition, List) | CORRECTNESS | DMI_INVOKING_TOSTRING_ON_ARRAY | 360 | High |
| Invocation of toString on org.apache.hadoop.hive.ql.metadata.Partition.getPath() in org.apache.hadoop.hive.ql.optimizer.listbucketingpruner.ListBucketingPruner.prune(ParseContext, Partition, ExprNodeDesc) | CORRECTNESS | DMI_INVOKING_TOSTRING_ON_ARRAY | 193 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.listbucketingpruner.ListBucketingPrunerUtils.HIVE_LIST_BUCKETING_DEFAULT_DIR_NAME isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 40 | High |
| org.apache.hadoop.hive.ql.optimizer.listbucketingpruner.ListBucketingPrunerUtils.HIVE_LIST_BUCKETING_DEFAULT_KEY isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 43 | High |
| org.apache.hadoop.hive.ql.optimizer.listbucketingpruner.ListBucketingPrunerUtils.andBoolOperand(Boolean, Boolean) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 114 | Medium |
| org.apache.hadoop.hive.ql.optimizer.listbucketingpruner.ListBucketingPrunerUtils.notBoolOperand(Boolean) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 138 | Medium |
| org.apache.hadoop.hive.ql.optimizer.listbucketingpruner.ListBucketingPrunerUtils.orBoolOperand(Boolean, Boolean) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 80 | Medium |
| org.apache.hadoop.hive.ql.optimizer.listbucketingpruner.ListBucketingPrunerUtils.recursiveExpr(ExprNodeDesc, List, List, List) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 183 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.metainfo.annotation.OpTraitsRulesProcFactory$TableScanRule.checkBucketedTable(Table, ParseContext, PrunedPartitionList) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 148 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.pcr.PcrExprProcFactory.ifResultsAgree(Boolean[]) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 84 | Medium |
| org.apache.hadoop.hive.ql.optimizer.pcr.PcrExprProcFactory.opAnd(Boolean, Boolean) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 135 | Medium |
| org.apache.hadoop.hive.ql.optimizer.pcr.PcrExprProcFactory.opNot(Boolean) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 163 | Medium |
| org.apache.hadoop.hive.ql.optimizer.pcr.PcrExprProcFactory.opOr(Boolean, Boolean) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 147 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.hadoop.hive.ql.optimizer.pcr.PcrExprProcFactory$NodeInfoWrapper(PcrExprProcFactory$WalkState, Boolean[], ExprNodeDesc) may expose internal representation by storing an externally mutable object into PcrExprProcFactory$NodeInfoWrapper.ResultVector | MALICIOUS_CODE | EI_EXPOSE_REP2 | 174 | Medium |
| The field name org.apache.hadoop.hive.ql.optimizer.pcr.PcrExprProcFactory$NodeInfoWrapper.ResultVector doesn't start with a lower case letter | BAD_PRACTICE | NM_FIELD_NAMING_CONVENTION | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.physical.AbstractJoinTaskDispatcher.getTotalKnownInputSize(Context, MapWork, Map, HashMap) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | 142 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.optimizer.physical.CommonJoinTaskDispatcher.processCurrentTask(MapRedTask, ConditionalTask, Context) | STYLE | REC_CATCH_EXCEPTION | 514 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.physical.GenMRSkewJoinProcessor.processSkewJoin(JoinOperator, Task, ParseContext) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 202 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.physical.GenSparkSkewJoinProcessor.processSkewJoin(JoinOperator, Task, ReduceWork, ParseContext) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 172 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.optimizer.physical.MapJoinResolver$LocalMapJoinTaskDispatcher be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 94 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.optimizer.physical.SkewJoinResolver$SkewJoinTaskDispatcher be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 66 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of org.apache.hadoop.hive.ql.exec.vector.VectorizationContext.getAggregatorExpression(AggregationDesc, boolean), which is known to be non-null in org.apache.hadoop.hive.ql.optimizer.physical.Vectorizer.validateAggregationDesc(AggregationDesc, boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1216 | Medium |
| Redundant nullcheck of org.apache.hadoop.hive.ql.exec.vector.VectorizationContext.getVectorExpression(ExprNodeDesc, VectorExpressionDescriptor$Mode), which is known to be non-null in org.apache.hadoop.hive.ql.optimizer.physical.Vectorizer.validateExprNodeDesc(ExprNodeDesc, VectorExpressionDescriptor$Mode) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1181 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.physical.Vectorizer$MapWorkValidationNodeProcessor.process(Node, Stack, NodeProcessorCtx, Object[]) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 536 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.physical.Vectorizer$ReduceWorkValidationNodeProcessor.process(Node, Stack, NodeProcessorCtx, Object[]) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 556 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.physical.Vectorizer$VectorizationDispatcher.validateMapWork(MapWork, boolean) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 368 | Medium |
| org.apache.hadoop.hive.ql.optimizer.physical.Vectorizer$VectorizationDispatcher.validateReduceWork(ReduceWork) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 475 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to opChildren in org.apache.hadoop.hive.ql.optimizer.physical.index.IndexWhereProcessor.process(Node, Stack, NodeProcessorCtx, Object[]) | STYLE | DLS_DEAD_LOCAL_STORE | 81 | Medium |
| Dead store to tblDesc in org.apache.hadoop.hive.ql.optimizer.physical.index.IndexWhereProcessor.process(Node, Stack, NodeProcessorCtx, Object[]) | STYLE | DLS_DEAD_LOCAL_STORE | 121 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of bigInputStat, which is known to be non-null in org.apache.hadoop.hive.ql.optimizer.spark.SparkMapJoinOptimizer.getMapJoinConversionInfo(JoinOperator, OptimizeSparkProcContext) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 219 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.optimizer.spark.SparkSkewJoinResolver$SparkSkewJoinTaskDispatcher be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 67 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of parentStats, which is known to be non-null in org.apache.hadoop.hive.ql.optimizer.stats.annotation.StatsRulesProcFactory$GroupByStatsRule.process(Node, Stack, NodeProcessorCtx, Object[]) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 781 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.stats.annotation.StatsRulesProcFactory$JoinStatsRule.process(Node, Stack, NodeProcessorCtx, Object[]) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 1118 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.parse.ASTErrorNode defines non-transient non-serializable instance field delegate | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Primitive boxed just to call toString in org.apache.hadoop.hive.ql.parse.ASTNode.getName() | PERFORMANCE | DM_BOXED_PRIMITIVE_TOSTRING | 85 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.charSetString(String, String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 271 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.unescapeSQLString(String): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 455 | High |
| org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.HIVE_COLUMN_ORDER_ASC isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 104 | High |
| org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.HIVE_COLUMN_ORDER_DESC isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 105 | High |
| org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.escapeSQLString(String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 541 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer$AnalyzeRewriteContext be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 872 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer$RowFormatParams be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 131 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.parse.CalcitePlanner$CalcitePlannerAction.getBound(WindowingSpec$BoundarySpec, RexNodeConverter) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 2097 | Medium |
| Redundant nullcheck of selectRel, which is known to be non-null in org.apache.hadoop.hive.ql.parse.CalcitePlanner$CalcitePlannerAction.genLogicalPlan(QB, boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 2559 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.parse.CalcitePlanner$CalcitePlannerAction.getHiveAggInfo(ASTNode, int, RowResolver) | STYLE | REC_CATCH_EXCEPTION | 1688 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.parse.ColumnStatsSemanticAnalyzer.getColumnName(ASTNode) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 137 | Medium |
| org.apache.hadoop.hive.ql.parse.ColumnStatsSemanticAnalyzer.getColumnTypes(List) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 289 | Medium |
| org.apache.hadoop.hive.ql.parse.ColumnStatsSemanticAnalyzer.getPartKeyValuePairsFromAST(ASTNode) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 116 | Medium |
| org.apache.hadoop.hive.ql.parse.ColumnStatsSemanticAnalyzer.genPartitionClause(Map) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 186 | Medium |
| org.apache.hadoop.hive.ql.parse.ColumnStatsSemanticAnalyzer.handlePartialPartitionSpec(Map) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 152 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to hiveConf in org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyzeAlterTableSkewedLocation(ASTNode, String, HashMap) | STYLE | DLS_DEAD_LOCAL_STORE | 3319 | Medium |
| Dead store to hiveConf in org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyzeAltertableSkewedby(String[], ASTNode) | STYLE | DLS_DEAD_LOCAL_STORE | 3175 | Medium |
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyzeAlterTableClusterSort(ASTNode, String, HashMap) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 1658 | High |
| Redundant nullcheck of newPartSpec, which is known to be non-null in org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyzeAlterTableRenamePart(ASTNode, String, HashMap) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 2565 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyzeAlterTablePartMergeFiles(ASTNode, String, HashMap) | STYLE | REC_CATCH_EXCEPTION | 1635 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyzeCreateIndex(ASTNode) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1061 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.parse.EximUtil.readMetaData(FileSystem, Path) might ignore org.json.JSONException | BAD_PRACTICE | DE_MIGHT_IGNORE | 225 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Suspicious comparison of Boolean references in org.apache.hadoop.hive.ql.parse.GenMapRedWalker.walk(Node) | BAD_PRACTICE | RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN | 58 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mBigintLiteral() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7534 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mByteLengthLiteral() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7773 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mCharSetLiteral() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7451 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mCharSetName() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8376 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mEQUAL() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6571 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mExponent() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7116 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mIdentifier() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8040 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mKW_NOT() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 553 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mNOTEQUAL() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6648 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mNumber() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7852 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mQuotedIdentifier() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8300 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mSmallintLiteral() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7605 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mStringLiteral() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7244 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mTinyintLiteral() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7676 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mTokens() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8582 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to LA21_5 in org.apache.hadoop.hive.ql.parse.HiveLexer$DFA21.specialStateTransition(int, IntStream) | STYLE | DLS_DEAD_LOCAL_STORE | 11056 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveLexer$DFA25 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 12951 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.adminOptionFor() | STYLE | DLS_DEAD_LOCAL_STORE | 29632 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterDatabaseSuffixProperties() | STYLE | DLS_DEAD_LOCAL_STORE | 9288 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterDatabaseSuffixSetOwner() | STYLE | DLS_DEAD_LOCAL_STORE | 9400 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterIndexStatementSuffix() | STYLE | DLS_DEAD_LOCAL_STORE | 8735 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterProtectMode() | STYLE | DLS_DEAD_LOCAL_STORE | 13955 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementChangeColPosition() | STYLE | DLS_DEAD_LOCAL_STORE | 10322 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementPartitionKeyType() | STYLE | DLS_DEAD_LOCAL_STORE | 8393 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixAddCol() | STYLE | DLS_DEAD_LOCAL_STORE | 9705 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixAddPartitions(boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 10491 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixArchive() | STYLE | DLS_DEAD_LOCAL_STORE | 10861 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixBucketNum() | STYLE | DLS_DEAD_LOCAL_STORE | 14327 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixCompact() | STYLE | DLS_DEAD_LOCAL_STORE | 14418 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixDropPartitions(boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 11301 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixExchangePartition() | STYLE | DLS_DEAD_LOCAL_STORE | 13374 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixFileFormat() | STYLE | DLS_DEAD_LOCAL_STORE | 12264 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixLocation() | STYLE | DLS_DEAD_LOCAL_STORE | 13032 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixMergeFiles() | STYLE | DLS_DEAD_LOCAL_STORE | 13838 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixProperties() | STYLE | DLS_DEAD_LOCAL_STORE | 11576 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixProtectMode() | STYLE | DLS_DEAD_LOCAL_STORE | 13461 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixRename(boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 9502 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixRenameCol() | STYLE | DLS_DEAD_LOCAL_STORE | 9970 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixRenamePart() | STYLE | DLS_DEAD_LOCAL_STORE | 13560 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixSerdeProperties() | STYLE | DLS_DEAD_LOCAL_STORE | 11984 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixStatsPart() | STYLE | DLS_DEAD_LOCAL_STORE | 13745 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixTouch() | STYLE | DLS_DEAD_LOCAL_STORE | 10738 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixUnArchive() | STYLE | DLS_DEAD_LOCAL_STORE | 10984 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixUpdateStatsCol() | STYLE | DLS_DEAD_LOCAL_STORE | 10182 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterTableStatementSuffix() | STYLE | DLS_DEAD_LOCAL_STORE | 7923 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterTblPartitionStatementSuffixSkewedLocation() | STYLE | DLS_DEAD_LOCAL_STORE | 12598 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterViewSuffixProperties() | STYLE | DLS_DEAD_LOCAL_STORE | 11793 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.analyzeStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 18626 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.autoRebuild() | STYLE | DLS_DEAD_LOCAL_STORE | 6068 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameColonType() | STYLE | DLS_DEAD_LOCAL_STORE | 38393 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameComment() | STYLE | DLS_DEAD_LOCAL_STORE | 37946 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameOrder() | STYLE | DLS_DEAD_LOCAL_STORE | 37676 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameType() | STYLE | DLS_DEAD_LOCAL_STORE | 38233 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnRefOrder() | STYLE | DLS_DEAD_LOCAL_STORE | 38087 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.createDatabaseStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 3708 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.createFunctionStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 30561 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.createIndexStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 5816 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.createMacroStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 31252 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.createRoleStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 22829 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.createViewStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 31717 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.cteStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 40680 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.databaseComment() | STYLE | DLS_DEAD_LOCAL_STORE | 4462 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dbLocation() | STYLE | DLS_DEAD_LOCAL_STORE | 3829 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dbProperties() | STYLE | DLS_DEAD_LOCAL_STORE | 3928 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.deleteStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 45072 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.descPartTypeExpr() | STYLE | DLS_DEAD_LOCAL_STORE | 16183 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.destination() | STYLE | DLS_DEAD_LOCAL_STORE | 44753 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dropDatabaseStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 4357 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dropFunctionStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 30760 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dropIndexStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 6607 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dropMacroStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 31396 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dropRoleStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 22929 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dropTableStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 6774 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dropViewStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 32004 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.exportStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 1944 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.fileFormat() | STYLE | DLS_DEAD_LOCAL_STORE | 14839 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.grantOptionFor() | STYLE | DLS_DEAD_LOCAL_STORE | 29537 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.grantPrivileges() | STYLE | DLS_DEAD_LOCAL_STORE | 23099 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.grantRole() | STYLE | DLS_DEAD_LOCAL_STORE | 23740 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.ifExists() | STYLE | DLS_DEAD_LOCAL_STORE | 2923 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.ifNotExists() | STYLE | DLS_DEAD_LOCAL_STORE | 3163 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.ignoreProtection() | STYLE | DLS_DEAD_LOCAL_STORE | 3434 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.importStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 2152 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.indexComment() | STYLE | DLS_DEAD_LOCAL_STORE | 5971 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.indexProperties() | STYLE | DLS_DEAD_LOCAL_STORE | 6327 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.indexTblName() | STYLE | DLS_DEAD_LOCAL_STORE | 6165 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.insertClause() | STYLE | DLS_DEAD_LOCAL_STORE | 44172 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.keyProperty() | STYLE | DLS_DEAD_LOCAL_STORE | 35014 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.keyValueProperty() | STYLE | DLS_DEAD_LOCAL_STORE | 34928 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.limitClause() | STYLE | DLS_DEAD_LOCAL_STORE | 44943 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.listType() | STYLE | DLS_DEAD_LOCAL_STORE | 39679 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.loadStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 1801 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.lockDatabase() | STYLE | DLS_DEAD_LOCAL_STORE | 22379 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.lockStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 22214 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.mapType() | STYLE | DLS_DEAD_LOCAL_STORE | 39908 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.metastoreCheck() | STYLE | DLS_DEAD_LOCAL_STORE | 29944 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.orReplace() | STYLE | DLS_DEAD_LOCAL_STORE | 3346 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.partTypeExpr() | STYLE | DLS_DEAD_LOCAL_STORE | 16061 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.partitionLocation() | STYLE | DLS_DEAD_LOCAL_STORE | 11080 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.privilegeIncludeColObject() | STYLE | DLS_DEAD_LOCAL_STORE | 25186 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.privilegeObject() | STYLE | DLS_DEAD_LOCAL_STORE | 25320 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.privlegeDef() | STYLE | DLS_DEAD_LOCAL_STORE | 28429 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.queryStatementExpression(boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 40337 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.recordReader() | STYLE | DLS_DEAD_LOCAL_STORE | 33647 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.recordWriter() | STYLE | DLS_DEAD_LOCAL_STORE | 33796 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.regularBody(boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 41275 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.reloadFunctionStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 30884 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.resource() | STYLE | DLS_DEAD_LOCAL_STORE | 30191 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.restrictOrCascade() | STYLE | DLS_DEAD_LOCAL_STORE | 3029 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.revokePrivileges() | STYLE | DLS_DEAD_LOCAL_STORE | 23285 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.revokeRole() | STYLE | DLS_DEAD_LOCAL_STORE | 24191 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.rowFormatDelimited() | STYLE | DLS_DEAD_LOCAL_STORE | 34191 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.rowFormatSerde() | STYLE | DLS_DEAD_LOCAL_STORE | 33945 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.selectStatementWithCTE() | STYLE | DLS_DEAD_LOCAL_STORE | 43080 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.setColumnsClause() | STYLE | DLS_DEAD_LOCAL_STORE | 45286 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.setOperator() | STYLE | DLS_DEAD_LOCAL_STORE | 40213 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.setRole() | STYLE | DLS_DEAD_LOCAL_STORE | 24595 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.showCurrentRole() | STYLE | DLS_DEAD_LOCAL_STORE | 24498 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.showGrants() | STYLE | DLS_DEAD_LOCAL_STORE | 24754 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.showRoleGrants() | STYLE | DLS_DEAD_LOCAL_STORE | 24313 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.showRolePrincipals() | STYLE | DLS_DEAD_LOCAL_STORE | 24865 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.showRoles() | STYLE | DLS_DEAD_LOCAL_STORE | 24403 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.simpleSelectStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 42892 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.singleFromStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 41083 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.skewedColumnValuePair() | STYLE | DLS_DEAD_LOCAL_STORE | 37245 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.skewedLocationMap() | STYLE | DLS_DEAD_LOCAL_STORE | 12931 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.skewedLocations() | STYLE | DLS_DEAD_LOCAL_STORE | 12697 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.storedAsDirs() | STYLE | DLS_DEAD_LOCAL_STORE | 3258 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.structType() | STYLE | DLS_DEAD_LOCAL_STORE | 39785 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.switchDatabaseStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 4154 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableBuckets() | STYLE | DLS_DEAD_LOCAL_STORE | 33030 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableComment() | STYLE | DLS_DEAD_LOCAL_STORE | 32726 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableLocation() | STYLE | DLS_DEAD_LOCAL_STORE | 36309 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tablePartition() | STYLE | DLS_DEAD_LOCAL_STORE | 32839 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tablePartitionPrefix() | STYLE | DLS_DEAD_LOCAL_STORE | 12158 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableProperties() | STYLE | DLS_DEAD_LOCAL_STORE | 34565 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormatCollItemsIdentifier() | STYLE | DLS_DEAD_LOCAL_STORE | 35282 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormatFieldIdentifier() | STYLE | DLS_DEAD_LOCAL_STORE | 35163 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormatLinesIdentifier() | STYLE | DLS_DEAD_LOCAL_STORE | 35499 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormatMapKeysIdentifier() | STYLE | DLS_DEAD_LOCAL_STORE | 35394 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowNullFormat() | STYLE | DLS_DEAD_LOCAL_STORE | 35604 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableSkewed() | STYLE | DLS_DEAD_LOCAL_STORE | 33232 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.truncateTableStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 5406 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.unionType() | STYLE | DLS_DEAD_LOCAL_STORE | 40018 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.unlockDatabase() | STYLE | DLS_DEAD_LOCAL_STORE | 22730 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.unlockStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 22576 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.updateStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 45422 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.viewPartition() | STYLE | DLS_DEAD_LOCAL_STORE | 31875 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.withAdminOption() | STYLE | DLS_DEAD_LOCAL_STORE | 29727 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.withGrantOption() | STYLE | DLS_DEAD_LOCAL_STORE | 29442 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterProtectModeMode() | STYLE | DLS_DEAD_LOCAL_STORE | 14122 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 7192 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixClusterbySortby() | STYLE | DLS_DEAD_LOCAL_STORE | 12490 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixSkewedby() | STYLE | DLS_DEAD_LOCAL_STORE | 13168 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.colTypeList() | STYLE | DLS_DEAD_LOCAL_STORE | 38601 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameColonTypeList() | STYLE | DLS_DEAD_LOCAL_STORE | 36570 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameCommentList() | STYLE | DLS_DEAD_LOCAL_STORE | 37819 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameList() | STYLE | DLS_DEAD_LOCAL_STORE | 36704 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameOrderList() | STYLE | DLS_DEAD_LOCAL_STORE | 36896 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameTypeList() | STYLE | DLS_DEAD_LOCAL_STORE | 36436 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dbPropertiesList() | STYLE | DLS_DEAD_LOCAL_STORE | 4055 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.explainStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 1251 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.fromStatement(boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 40868 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.indexPropertiesList() | STYLE | DLS_DEAD_LOCAL_STORE | 6454 | Medium |
| Dead store to KW_IDXPROPERTIES152 in org.apache.hadoop.hive.ql.parse.HiveParser.indexPropertiesPrefixed() | STYLE | DLS_DEAD_LOCAL_STORE | 6241 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.principalName() | STYLE | DLS_DEAD_LOCAL_STORE | 29251 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.principalSpecification() | STYLE | DLS_DEAD_LOCAL_STORE | 29114 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.privilegeList() | STYLE | DLS_DEAD_LOCAL_STORE | 28293 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.resourceList() | STYLE | DLS_DEAD_LOCAL_STORE | 30091 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.resourceType() | STYLE | DLS_DEAD_LOCAL_STORE | 30310 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.rowFormat() | STYLE | DLS_DEAD_LOCAL_STORE | 33481 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.skewedColumnValuePairList() | STYLE | DLS_DEAD_LOCAL_STORE | 37139 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.skewedColumnValues() | STYLE | DLS_DEAD_LOCAL_STORE | 37373 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.skewedLocationsList() | STYLE | DLS_DEAD_LOCAL_STORE | 12824 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tablePropertiesList() | STYLE | DLS_DEAD_LOCAL_STORE | 34735 | Medium |
| Dead store to KW_TBLPROPERTIES691 in org.apache.hadoop.hive.ql.parse.HiveParser.tablePropertiesPrefixed() | STYLE | DLS_DEAD_LOCAL_STORE | 34479 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormat() | STYLE | DLS_DEAD_LOCAL_STORE | 34360 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.withClause() | STYLE | DLS_DEAD_LOCAL_STORE | 40559 | Medium |
| org.apache.hadoop.hive.ql.parse.HiveParser.getTokenNames() may expose internal representation by returning HiveParser.tokenNames | MALICIOUS_CODE | EI_EXPOSE_REP | 694 | Medium |
| org.apache.hadoop.hive.ql.parse.HiveParser.tokenNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 35 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.fromStatement(boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 40868 | High |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.adminOptionFor() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 29632 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterDatabaseSuffixProperties() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 9288 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterDatabaseSuffixSetOwner() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 9400 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterIndexStatementSuffix() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 8735 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterProtectMode() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 13955 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterProtectModeMode() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 14122 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 7192 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementChangeColPosition() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 10322 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementPartitionKeyType() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 8393 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixAddCol() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 9705 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixAddPartitions(boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 10491 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixArchive() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 10861 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixBucketNum() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 14327 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixClusterbySortby() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 12490 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixCompact() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 14418 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixDropPartitions(boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 11301 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixExchangePartition() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 13374 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixFileFormat() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 12264 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixLocation() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 13032 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixMergeFiles() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 13838 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixProperties() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 11499 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixProtectMode() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 13461 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixRename(boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 9502 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixRenameCol() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 9970 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixRenamePart() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 13560 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixSerdeProperties() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 12041 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixSkewedby() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 13168 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixStatsPart() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 13745 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixTouch() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 10738 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixUnArchive() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 10984 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixUpdateStatsCol() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 10182 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterTableStatementSuffix() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 7923 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterTblPartitionStatementSuffixSkewedLocation() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 12598 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.alterViewSuffixProperties() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 11716 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.analyzeStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 18626 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.autoRebuild() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 6068 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.colTypeList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 38601 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameColonType() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 38393 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameColonTypeList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 36570 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameComment() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 37946 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameCommentList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 37819 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 36704 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameOrder() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 37676 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameOrderList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 36896 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameType() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 38233 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameTypeList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 36436 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.columnRefOrder() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 38087 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.createDatabaseStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 3708 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.createFunctionStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 30561 | Medium |
| Redundant nullcheck of indexedCols, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.createIndexStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5815 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.createIndexStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5816 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.createMacroStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 31252 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.createRoleStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 22829 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.createViewStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 31717 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.cteStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 40680 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.databaseComment() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 4462 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.dbLocation() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 3829 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.dbProperties() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 3928 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.dbPropertiesList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 4055 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.deleteStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 45072 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.descPartTypeExpr() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 16183 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.destination() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 44812 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.dropDatabaseStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 4357 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.dropFunctionStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 30760 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.dropIndexStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 6607 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.dropMacroStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 31396 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.dropRoleStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 22929 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.dropTableStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 6774 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.dropViewStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 32004 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.explainStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1251 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.exportStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1944 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.fileFormat() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 14899 | Medium |
| Redundant nullcheck of r, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.fromStatement(boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 40829 | Medium |
| Redundant nullcheck of u, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.fromStatement(boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 40828 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.grantOptionFor() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 29537 | Medium |
| Redundant nullcheck of privList, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.grantPrivileges() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 23100 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.grantPrivileges() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 23099 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.grantRole() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 23740 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.ifExists() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 2923 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.ifNotExists() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 3163 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.ignoreProtection() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 3434 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.importStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 2152 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.indexComment() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5971 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.indexProperties() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 6327 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.indexPropertiesList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 6454 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.indexTblName() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 6165 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.insertClause() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 44172 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.keyProperty() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 35014 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.keyValueProperty() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 34928 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.limitClause() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 44943 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.listType() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 39679 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.loadStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1801 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.lockDatabase() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 22379 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.lockStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 22214 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.mapType() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 39908 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.metastoreCheck() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 29944 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.orReplace() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 3346 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.partTypeExpr() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 16061 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.partitionLocation() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 11080 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.principalName() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 29251 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.principalSpecification() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 29114 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.privilegeIncludeColObject() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 25186 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.privilegeList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 28293 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.privilegeObject() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 25320 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.privlegeDef() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 28429 | Medium |
| Redundant nullcheck of queryStatementExpressionBody823, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.queryStatementExpression(boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 40325 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.queryStatementExpression(boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 40337 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.recordReader() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 33647 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.recordWriter() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 33796 | Medium |
| Redundant nullcheck of i, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.regularBody(boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 41233 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.regularBody(boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 41275 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.reloadFunctionStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 30884 | Medium |
| Redundant nullcheck of resType, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.resource() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 30192 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.resource() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 30191 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.resourceList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 30091 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.resourceType() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 30310 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.restrictOrCascade() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 3029 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.revokePrivileges() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 23285 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.revokeRole() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 24191 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.rowFormat() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 33481 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.rowFormatDelimited() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 34191 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.rowFormatSerde() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 33945 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.selectStatementWithCTE() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 43080 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.setColumnsClause() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 45286 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.setOperator() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 40213 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.setRole() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 24595 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.showCurrentRole() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 24498 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.showGrants() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 24754 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.showRoleGrants() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 24313 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.showRolePrincipals() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 24865 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.showRoles() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 24403 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.simpleSelectStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 42892 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.singleFromStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 41083 | Medium |
| Redundant nullcheck of colValues, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.skewedColumnValuePair() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 37246 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.skewedColumnValuePair() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 37245 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.skewedColumnValuePairList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 37139 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.skewedColumnValues() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 37373 | Medium |
| Redundant nullcheck of key, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.skewedLocationMap() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 12932 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.skewedLocationMap() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 12931 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.skewedLocations() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 12697 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.skewedLocationsList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 12824 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.storedAsDirs() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 3258 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.structType() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 39785 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.switchDatabaseStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 4154 | Medium |
| Redundant nullcheck of bucketCols, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.tableBuckets() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 33031 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.tableBuckets() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 33030 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.tableComment() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 32726 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.tableLocation() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 36309 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.tablePartition() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 32839 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.tablePartitionPrefix() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 12158 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.tableProperties() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 34565 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.tablePropertiesList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 34735 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormat() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 34360 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormatCollItemsIdentifier() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 35282 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormatFieldIdentifier() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 35163 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormatLinesIdentifier() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 35499 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormatMapKeysIdentifier() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 35394 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowNullFormat() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 35604 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.tableSkewed() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 33232 | Medium |
| Redundant nullcheck of skewedCols, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.tableSkewed() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 33234 | Medium |
| Redundant nullcheck of skewedValues, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.tableSkewed() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 33233 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.truncateTableStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5406 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.unionType() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 40018 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.unlockDatabase() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 22730 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.unlockStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 22576 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.updateStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 45422 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.viewPartition() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 31875 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.withAdminOption() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 29727 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.withClause() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 40559 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.withGrantOption() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 29442 | Medium |
| Redundant nullcheck of first which is known to be null in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementChangeColPosition() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE | 10327 | Medium |
| Nullcheck of name at line 9263 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterDatabaseSuffixProperties() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 9263 | High |
| Nullcheck of dbName at line 9375 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterDatabaseSuffixSetOwner() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 9375 | High |
| Nullcheck of indexName at line 8658 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterIndexStatementSuffix() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 8658 | High |
| Nullcheck of afterCol at line 10312 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementChangeColPosition() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 10312 | High |
| Nullcheck of exchangename at line 13363 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixExchangePartition() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 13363 | High |
| Nullcheck of newName at line 9868 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixRenameCol() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 9868 | High |
| Nullcheck of oldName at line 9861 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixRenameCol() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 9861 | High |
| Nullcheck of colName at line 13695 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixStatsPart() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 13695 | High |
| Nullcheck of colName at line 10132 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixUpdateStatsCol() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 10132 | High |
| Nullcheck of parttype at line 18289 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.analyzeStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 18289 | High |
| Nullcheck of colName at line 38343 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameColonType() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 38343 | High |
| Nullcheck of colName at line 37907 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameComment() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 37907 | High |
| Nullcheck of colName at line 38187 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameType() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 38187 | High |
| Nullcheck of name at line 3609 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.createDatabaseStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 3609 | High |
| Nullcheck of indexName at line 5550 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.createIndexStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 5550 | High |
| Nullcheck of tab at line 5565 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.createIndexStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 5565 | High |
| Nullcheck of roleName at line 22819 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.createRoleStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 22819 | High |
| Nullcheck of name at line 31580 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.createViewStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 31580 | High |
| Nullcheck of indexName at line 6586 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.dropIndexStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 6586 | High |
| Nullcheck of tab at line 6597 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.dropIndexStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 6597 | High |
| Nullcheck of roleName at line 22919 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.dropRoleStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 22919 | High |
| Nullcheck of tab at line 1916 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.exportStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 1916 | High |
| Nullcheck of genericSpec at line 14889 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.fileFormat() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 14889 | High |
| Nullcheck of indexTbl at line 6155 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.indexTblName() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 6155 | High |
| Nullcheck of tab at line 1785 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.loadStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 1785 | High |
| Nullcheck of left at line 39883 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.mapType() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 39883 | High |
| Nullcheck of right at line 39894 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.mapType() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 39894 | High |
| Nullcheck of s at line 41231 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.regularBody(boolean) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 41231 | High |
| Nullcheck of selectStatement845 at line 43064 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.selectStatementWithCTE() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 43064 | High |
| Nullcheck of roleName at line 24585 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.setRole() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 24585 | High |
| Nullcheck of roleName at line 24855 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.showRolePrincipals() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 24855 | High |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterDatabaseStatementSuffix() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9170 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterIndexStatementSuffix() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8673 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterProtectMode() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 13932 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterProtectModeMode() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 14153 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7023 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementChangeColPosition() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10284 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixAddCol() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9627 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixAddPartitions(boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10420 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixAddPartitionsElement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10618 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixArchive() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10824 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixClusterbySortby() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 12381 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixDropPartitions(boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11173 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixProperties() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11536 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixRenameCol() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9834 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixSerdeProperties() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11942 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixSkewedby() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 13149 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixStatsPart() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 13668 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixTouch() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10701 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixUnArchive() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10947 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixUpdateStatsCol() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10105 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterTableStatementSuffix() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7883 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterTblPartitionStatementSuffix() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8106 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterViewStatementSuffix() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8508 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterViewSuffixProperties() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11753 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.analyzeStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 18304 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.body() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 43233 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.colTypeList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 38560 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameColonType() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 38358 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameColonTypeList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 36529 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameComment() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 37911 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameCommentList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 37778 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 36663 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameOrder() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 37632 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameOrderList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 36855 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameType() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 38198 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameTypeList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 36395 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnRefOrder() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 38043 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.createDatabaseStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3554 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.createFunctionStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 30481 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.createIndexStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5592 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.createMacroStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 30995 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.createTableStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4605 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.createViewStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 31519 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.dbPropertiesList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4014 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.ddlStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2314 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.deleteStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 45039 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.descPartTypeExpr() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 16150 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.descStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 17313 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.descTabTypeExpr() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 15393 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.destination() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 44693 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.dropDatabaseStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4264 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.dropFunctionStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 30692 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.dropIndexStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6556 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.dropMacroStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 31359 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.dropTableStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6710 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.dropViewStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 31964 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.execStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1521 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.explainStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1203 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.fileFormat() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 14792 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.fromStatement(boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 40792 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.grantPrivileges() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 23028 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.grantRole() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 23619 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.importStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2041 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.indexPropertiesList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6413 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.insertClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 44139 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.loadStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1709 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.lockDatabase() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 22330 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.lockStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 22174 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.metastoreCheck() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 29818 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.partTypeExpr() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 16028 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.primitiveType() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 39387 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.principalName() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 29228 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.principalSpecification() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 29073 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.privObject() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 26264 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.privObjectCols() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 27650 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.privilegeIncludeColObject() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 25170 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.privilegeList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 28252 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.privilegeType() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 28601 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.privlegeDef() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 28388 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.queryStatementExpression(boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 40287 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.queryStatementExpressionBody(boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 40418 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.recordReader() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 33590 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.recordWriter() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 33739 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.regularBody(boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 41188 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.resourceList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 30050 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.resourceType() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 30294 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.restrictOrCascade() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3013 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.revokePrivileges() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 23207 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.revokeRole() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 23855 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.rowFormat() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 33385 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.rowFormatDelimited() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 34057 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.rowFormatSerde() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 33902 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.selectStatement(boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 41487 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.selectStatementWithCTE() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 43034 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.setColumnsClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 45245 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.setOpSelectStatement(CommonTree, boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 42034 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.setOperator() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 40183 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.showFunctionIdentifier() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 32314 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.showGrants() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 24688 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.showStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 19254 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.showStmtIdentifier() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 32626 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.simpleSelectStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 42737 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.singleFromStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 41036 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.skewedColumnValuePairList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 37098 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.skewedColumnValues() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 37332 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.skewedLocationsList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 12783 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.skewedValueElement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 37003 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.skewedValueLocationElement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 37538 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.statement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1035 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.tabTypeExpr() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 14996 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.tableBuckets() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 32967 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.tableFileFormat() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 36012 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.tablePartitionPrefix() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 12125 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.tablePropertiesList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 34694 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormat() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 34341 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormatFieldIdentifier() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 35123 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.tableSkewed() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 33191 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.truncateTableStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5361 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.type() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 38732 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.unlockDatabase() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 22688 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.unlockStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 22543 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.updateStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 45389 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.withClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 40518 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser$DFA10 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 45855 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser$DFA198 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 46007 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.fromClause() | STYLE | DLS_DEAD_LOCAL_STORE | 1499 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.partitionedTableFunction() | STYLE | DLS_DEAD_LOCAL_STORE | 6318 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.splitSample() | STYLE | DLS_DEAD_LOCAL_STORE | 4255 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.subQuerySource() | STYLE | DLS_DEAD_LOCAL_STORE | 5264 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableAlias() | STYLE | DLS_DEAD_LOCAL_STORE | 3558 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableAllColumns() | STYLE | DLS_DEAD_LOCAL_STORE | 986 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableBucketSample() | STYLE | DLS_DEAD_LOCAL_STORE | 3937 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableName() | STYLE | DLS_DEAD_LOCAL_STORE | 4763 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableNameColList() | STYLE | DLS_DEAD_LOCAL_STORE | 7379 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableOrColumn() | STYLE | DLS_DEAD_LOCAL_STORE | 1127 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableSource() | STYLE | DLS_DEAD_LOCAL_STORE | 4581 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.uniqueJoinExpr() | STYLE | DLS_DEAD_LOCAL_STORE | 2202 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.uniqueJoinToken() | STYLE | DLS_DEAD_LOCAL_STORE | 2294 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.valuesClause() | STYLE | DLS_DEAD_LOCAL_STORE | 6877 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.viewName() | STYLE | DLS_DEAD_LOCAL_STORE | 5123 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.virtualTableSource() | STYLE | DLS_DEAD_LOCAL_STORE | 6978 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.whereClause() | STYLE | DLS_DEAD_LOCAL_STORE | 6437 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.aliasList() | STYLE | DLS_DEAD_LOCAL_STORE | 1396 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.expressionList() | STYLE | DLS_DEAD_LOCAL_STORE | 1258 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.partitioningSpec() | STYLE | DLS_DEAD_LOCAL_STORE | 5488 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.valueRowConstructor() | STYLE | DLS_DEAD_LOCAL_STORE | 6640 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.valuesTableConstructor() | STYLE | DLS_DEAD_LOCAL_STORE | 6776 | Medium |
| Possible null pointer dereference of null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.joinSource() | CORRECTNESS | NP_NULL_ON_SOME_PATH | 1894 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.aliasList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1396 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.expressionList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1258 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.fromClause() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1499 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.partitionedTableFunction() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 6318 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.partitioningSpec() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5488 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.splitSample() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 4255 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.subQuerySource() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5264 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableAlias() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 3558 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableAllColumns() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 986 | Medium |
| Redundant nullcheck of list_expr, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableBucketSample() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 3902 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableBucketSample() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 3937 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableName() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 4763 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableNameColList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 7379 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableOrColumn() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1127 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableSource() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 4581 | Medium |
| Redundant nullcheck of tabname, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableSource() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 4583 | Medium |
| Redundant nullcheck of list_e1, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.uniqueJoinExpr() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 2175 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.uniqueJoinExpr() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 2202 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.uniqueJoinToken() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 2294 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.valueRowConstructor() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 6640 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.valuesClause() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 6877 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.valuesTableConstructor() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 6776 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.viewName() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5123 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.virtualTableSource() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 6978 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.whereClause() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 6437 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.aliasList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1353 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.expressionList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1215 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.fromSource() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3644 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.joinSource() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1838 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.joinToken() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2619 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.lateralView() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3221 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.partitionTableFunctionSource() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6018 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.partitionedTableFunction() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6171 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.partitioningSpec() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5401 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.splitSample() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4132 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.subQuerySource() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5233 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableAllColumns() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 968 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableBucketSample() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3849 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableName() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4682 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableNameColList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7071 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableSample() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4383 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableSource() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4485 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.uniqueJoinExpr() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2152 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.uniqueJoinSource() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2037 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.valueRowConstructor() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6593 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.valuesTableConstructor() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6733 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.viewName() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4848 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to LA14_28 in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser$DFA14.specialStateTransition(int, IntStream) | STYLE | DLS_DEAD_LOCAL_STORE | 7754 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to LA16_28 in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser$DFA16.specialStateTransition(int, IntStream) | STYLE | DLS_DEAD_LOCAL_STORE | 7952 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser$DFA26 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 8277 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser$DFA29 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 8431 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser$DFA30 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 8676 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser$DFA32 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 9280 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser$DFA40 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 9433 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.atomExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 6654 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.caseExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 5636 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.castExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 5431 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.charSetStringLiteral() | STYLE | DLS_DEAD_LOCAL_STORE | 6313 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.dateLiteral() | STYLE | DLS_DEAD_LOCAL_STORE | 6408 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.dropPartitionVal() | STYLE | DLS_DEAD_LOCAL_STORE | 10745 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.expressions() | STYLE | DLS_DEAD_LOCAL_STORE | 9505 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.function() | STYLE | DLS_DEAD_LOCAL_STORE | 4644 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.groupByClause() | STYLE | DLS_DEAD_LOCAL_STORE | 977 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.havingClause() | STYLE | DLS_DEAD_LOCAL_STORE | 1470 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.identifier() | STYLE | DLS_DEAD_LOCAL_STORE | 11581 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.nonParenthesizedFunction() | STYLE | DLS_DEAD_LOCAL_STORE | 4808 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.nullCondition() | STYLE | DLS_DEAD_LOCAL_STORE | 7086 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.partitionVal() | STYLE | DLS_DEAD_LOCAL_STORE | 10474 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceUnarySuffixExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 7341 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.stringLiteralSequence() | STYLE | DLS_DEAD_LOCAL_STORE | 6205 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.tableOrPartition() | STYLE | DLS_DEAD_LOCAL_STORE | 10186 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.timestampLiteral() | STYLE | DLS_DEAD_LOCAL_STORE | 6494 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.whenExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 5839 | High |
| Dead store to LPAREN144 in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.atomExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 6782 | Medium |
| Dead store to RPAREN146 in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.atomExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 6791 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.clusterByClause() | STYLE | DLS_DEAD_LOCAL_STORE | 2226 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.distributeByClause() | STYLE | DLS_DEAD_LOCAL_STORE | 3334 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.dropPartitionSpec() | STYLE | DLS_DEAD_LOCAL_STORE | 10631 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.functionIdentifier() | STYLE | DLS_DEAD_LOCAL_STORE | 11958 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.groupingSetExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 1172 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.orderByClause() | STYLE | DLS_DEAD_LOCAL_STORE | 1674 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.partitionByClause() | STYLE | DLS_DEAD_LOCAL_STORE | 2780 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.partitionSpec() | STYLE | DLS_DEAD_LOCAL_STORE | 10343 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.sortByClause() | STYLE | DLS_DEAD_LOCAL_STORE | 3888 | Medium |
| Dead store to LPAREN190 in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.subQueryExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 8531 | Medium |
| Dead store to RPAREN192 in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.subQueryExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 8540 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.atomExpression() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 6654 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.caseExpression() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5636 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.castExpression() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5431 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.charSetStringLiteral() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 6313 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.clusterByClause() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 2226 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.dateLiteral() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 6408 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.distributeByClause() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 3334 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.dropPartitionSpec() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 10631 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.dropPartitionVal() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 10745 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.expressions() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 9505 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.function() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 4644 | Medium |
| Redundant nullcheck of db, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.functionIdentifier() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 11964 | Medium |
| Redundant nullcheck of fn, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.functionIdentifier() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 11964 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.functionIdentifier() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 11958 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.groupByClause() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 977 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.groupingSetExpression() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1172 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.havingClause() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1470 | Medium |
| Redundant nullcheck of nonReserved257, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.identifier() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 11587 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.identifier() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 11581 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.nonParenthesizedFunction() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 4808 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.nullCondition() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 7086 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.orderByClause() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1674 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.partitionByClause() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 2780 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.partitionSpec() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 10343 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.partitionVal() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 10474 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceUnarySuffixExpression() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 7341 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.sortByClause() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 3888 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.stringLiteralSequence() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 6205 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.tableOrPartition() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 10186 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.timestampLiteral() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 6494 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.whenExpression() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5839 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.booleanValue() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10059 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.caseExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5542 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.clusterByClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2084 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.constant() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5940 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.descFuncNames() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11217 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.distributeByClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3192 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.dropPartitionSpec() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10584 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.expressions() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9458 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.function() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4282 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.functionIdentifier() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11926 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.functionName() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5216 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.groupByClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 789 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.groupingSetExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1215 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.identifier() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11544 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.nullCondition() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7068 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.orderByClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1631 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.partitionByClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2638 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.partitionSpec() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10296 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.partitionVal() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10435 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceAmpersandExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7975 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceAndExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9796 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceBitwiseOrExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8134 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceEqualExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8646 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceEqualOperator() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8349 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceNotExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9637 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceOrExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9955 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedencePlusExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7815 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceUnaryPrefixExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7209 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceUnarySuffixExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7310 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.principalIdentifier() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 12273 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.sortByClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3746 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.tableOrPartition() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10151 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.whenExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5745 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser$DFA24 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 13581 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser$DFA30 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 13716 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser$DFA31 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 13836 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser$DFA33 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 15613 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser$DFA36 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 15755 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser$DFA37 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 15871 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser$DFA38 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 15986 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to LA43_711 in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser$DFA43.specialStateTransition(int, IntStream) | STYLE | DLS_DEAD_LOCAL_STORE | 17335 | Medium |
| Dead store to LA43_713 in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser$DFA43.specialStateTransition(int, IntStream) | STYLE | DLS_DEAD_LOCAL_STORE | 17352 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to LA44_111 in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser$DFA44.specialStateTransition(int, IntStream) | STYLE | DLS_DEAD_LOCAL_STORE | 16219 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser$DFA6 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 13461 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintClause() | STYLE | DLS_DEAD_LOCAL_STORE | 2345 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintItem() | STYLE | DLS_DEAD_LOCAL_STORE | 2596 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_defn() | STYLE | DLS_DEAD_LOCAL_STORE | 4594 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_frame_boundary() | STYLE | DLS_DEAD_LOCAL_STORE | 5747 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintArgs() | STYLE | DLS_DEAD_LOCAL_STORE | 2900 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintList() | STYLE | DLS_DEAD_LOCAL_STORE | 2471 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintName() | STYLE | DLS_DEAD_LOCAL_STORE | 2718 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectClause() | STYLE | DLS_DEAD_LOCAL_STORE | 1240 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectExpressionList() | STYLE | DLS_DEAD_LOCAL_STORE | 4349 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectItem() | STYLE | DLS_DEAD_LOCAL_STORE | 3241 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectList() | STYLE | DLS_DEAD_LOCAL_STORE | 1378 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_clause() | STYLE | DLS_DEAD_LOCAL_STORE | 4489 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_frame_start_boundary() | STYLE | DLS_DEAD_LOCAL_STORE | 5488 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_range_expression() | STYLE | DLS_DEAD_LOCAL_STORE | 5084 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_specification() | STYLE | DLS_DEAD_LOCAL_STORE | 4826 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_value_expression() | STYLE | DLS_DEAD_LOCAL_STORE | 5293 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintArgs() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 2900 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintClause() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 2345 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintItem() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 2596 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 2471 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintName() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 2718 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectClause() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1240 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectExpressionList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 4349 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectItem() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 3241 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectList() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 1378 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_clause() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 4489 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_defn() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 4594 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_frame_boundary() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5790 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_frame_start_boundary() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5488 | Medium |
| Redundant nullcheck of end, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_range_expression() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5148 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_range_expression() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5084 | Medium |
| Redundant nullcheck of s, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_range_expression() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5147 | Medium |
| Redundant nullcheck of sb, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_range_expression() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5085 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_specification() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 4826 | Medium |
| Redundant nullcheck of end, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_value_expression() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5357 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_value_expression() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5293 | Medium |
| Redundant nullcheck of s, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_value_expression() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5356 | Medium |
| Redundant nullcheck of sb, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_value_expression() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 5294 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintArgs() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2859 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintItem() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2555 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2430 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintName() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2702 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 777 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4214 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectExpressionList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4308 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectItem() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3084 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1337 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectTrfmClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1523 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.trfmClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3377 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_clause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4448 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_frame() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4935 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_frame_boundary() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5715 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_frame_start_boundary() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5468 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_range_expression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5061 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_specification() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4724 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_value_expression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5270 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser$DFA14 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 7906 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser$DFA16 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 7628 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser$DFA17 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 7331 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser$DFA2 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 6296 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser$DFA20 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 8127 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser$DFA23 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 8720 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser$DFA7 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 6517 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.parse.ImportSemanticAnalyzer.checkTable(Table, CreateTableDesc) | STYLE | REC_CATCH_EXCEPTION | 470 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.parse.IndexUpdater.doIndexUpdate(Index, Map) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 123 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of rTask which is known to be null in org.apache.hadoop.hive.ql.parse.LoadSemanticAnalyzer.analyzeInternal(ASTNode) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE | 283 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.parse.MapReduceCompiler.generateTaskTree(List, ParseContext, List, Set, Set) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 295 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread public/protected field: org.apache.hadoop.hive.ql.parse.OptimizeTezProcContext.rootOperators | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 72 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| instanceof will always return true for all nonnull values in org.apache.hadoop.hive.ql.parse.PTFTranslator.applyConstantPartition(PTFInvocationSpec$PartitionedTableFunctionSpec), since all org.apache.hadoop.hive.ql.parse.PTFInvocationSpec$PTFInputSpec are instances of org.apache.hadoop.hive.ql.parse.PTFInvocationSpec$PTFInputSpec | STYLE | BC_VACUOUS_INSTANCEOF | 442 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.ParseDriver$ANTLRNoCaseStringStream be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 61 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to nvae in org.apache.hadoop.hive.ql.parse.ParseDriver$HiveLexerX.getErrorMessage(RecognitionException, String[]) | STYLE | DLS_DEAD_LOCAL_STORE | 110 | Medium |
| Should org.apache.hadoop.hive.ql.parse.ParseDriver$HiveLexerX be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 87 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.parse.ParseUtils.getCharTypeInfo(ASTNode) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 144 | High |
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.parse.ParseUtils.getDecimalTypeTypeInfo(ASTNode) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 208 | High |
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.parse.ParseUtils.getVarcharTypeInfo(ASTNode) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 134 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.parse.QBJoinTree.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 369 | Medium |
| org.apache.hadoop.hive.ql.parse.QBJoinTree.getBaseSrc() may expose internal representation by returning QBJoinTree.baseSrc | MALICIOUS_CODE | EI_EXPOSE_REP | 146 | Medium |
| org.apache.hadoop.hive.ql.parse.QBJoinTree.getFilterMap() may expose internal representation by returning QBJoinTree.filterMap | MALICIOUS_CODE | EI_EXPOSE_REP | 336 | Medium |
| org.apache.hadoop.hive.ql.parse.QBJoinTree.getJoinCond() may expose internal representation by returning QBJoinTree.joinCond | MALICIOUS_CODE | EI_EXPOSE_REP | 166 | Medium |
| org.apache.hadoop.hive.ql.parse.QBJoinTree.getLeftAliases() may expose internal representation by returning QBJoinTree.leftAliases | MALICIOUS_CODE | EI_EXPOSE_REP | 130 | Medium |
| org.apache.hadoop.hive.ql.parse.QBJoinTree.getRightAliases() may expose internal representation by returning QBJoinTree.rightAliases | MALICIOUS_CODE | EI_EXPOSE_REP | 122 | Medium |
| org.apache.hadoop.hive.ql.parse.QBJoinTree.setBaseSrc(String[]) may expose internal representation by storing an externally mutable object into QBJoinTree.baseSrc | MALICIOUS_CODE | EI_EXPOSE_REP2 | 150 | Medium |
| org.apache.hadoop.hive.ql.parse.QBJoinTree.setFilterMap(int[][]) may expose internal representation by storing an externally mutable object into QBJoinTree.filterMap | MALICIOUS_CODE | EI_EXPOSE_REP2 | 340 | Medium |
| org.apache.hadoop.hive.ql.parse.QBJoinTree.setJoinCond(JoinCond[]) may expose internal representation by storing an externally mutable object into QBJoinTree.joinCond | MALICIOUS_CODE | EI_EXPOSE_REP2 | 170 | Medium |
| org.apache.hadoop.hive.ql.parse.QBJoinTree.setLeftAliases(String[]) may expose internal representation by storing an externally mutable object into QBJoinTree.leftAliases | MALICIOUS_CODE | EI_EXPOSE_REP2 | 134 | Medium |
| org.apache.hadoop.hive.ql.parse.QBJoinTree.setRightAliases(String[]) may expose internal representation by storing an externally mutable object into QBJoinTree.rightAliases | MALICIOUS_CODE | EI_EXPOSE_REP2 | 126 | Medium |
| Class org.apache.hadoop.hive.ql.parse.QBJoinTree defines non-transient non-serializable instance field joinCond | BAD_PRACTICE | SE_BAD_FIELD | High | |
| The field org.apache.hadoop.hive.ql.parse.QBJoinTree.rhsSemijoin is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.QBSubQuery$ConjunctAnalyzer be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 241 | Medium |
| Unread field: org.apache.hadoop.hive.ql.parse.QBSubQuery$ConjunctAnalyzer.parentQueryNewAlias | PERFORMANCE | URF_UNREAD_FIELD | 247 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Nullcheck of col_alias at line 104 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.RowResolver.put(String, String, ColumnInfo) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 98 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxed value is unboxed and then immediately reboxed in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.processTable(QB, ASTNode) | PERFORMANCE | BX_UNBOXING_IMMEDIATELY_REBOXED | 674 | Medium |
| Dead store to child in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeCreateTable(ASTNode) | STYLE | DLS_DEAD_LOCAL_STORE | 9908 | High |
| Dead store to listBucketColValuesMapping in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeCreateTable(ASTNode, QB, SemanticAnalyzer$PlannerContext) | STYLE | DLS_DEAD_LOCAL_STORE | 10619 | High |
| Dead store to tw in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.isValidGroupBySelectList(QB, String) | STYLE | DLS_DEAD_LOCAL_STORE | 11687 | High |
| Dead store to aggParameters in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.checkExpressionsForGroupingSet(List, List, Map, RowResolver) | STYLE | DLS_DEAD_LOCAL_STORE | 5615 | Medium |
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeCreateTable(ASTNode, QB, SemanticAnalyzer$PlannerContext) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 10706 | High |
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.processTable(QB, ASTNode) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 682 | High |
| org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.doPhase1(ASTNode, QB, SemanticAnalyzer$Phase1Ctx, SemanticAnalyzer$PlannerContext) invokes inefficient new Integer(String) constructor; use Integer.valueOf(String) instead | PERFORMANCE | DM_NUMBER_CTOR | 1310 | Medium |
| The parameter child to org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeCreateTable(ASTNode) is dead upon entry but overwritten | CORRECTNESS | IP_PARAMETER_IS_DEAD_BUT_OVERWRITTEN | 9908 | High |
| tmp could be null and is guaranteed to be dereferenced in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genColListRegex(String, String, ASTNode, ArrayList, HashSet, RowResolver, RowResolver, Integer, RowResolver, List, boolean) | CORRECTNESS | NP_GUARANTEED_DEREF | 3004 | Medium |
| Nullcheck of tmp at line 2962 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genColListRegex(String, String, ASTNode, ArrayList, HashSet, RowResolver, RowResolver, Integer, RowResolver, List, boolean) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 2962 | High |
| Nullcheck of sampleExprs at line 9358 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genTablePlan(String, QB) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 9358 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genValuesTempTable(ASTNode) | STYLE | REC_CATCH_EXCEPTION | 800 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.doPhase1(ASTNode, QB, SemanticAnalyzer$Phase1Ctx, SemanticAnalyzer$PlannerContext) where one case falls through to the next case | STYLE | SF_SWITCH_FALLTHROUGH | 1125 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genFileSinkPlan(String, QB, Operator) where one case falls through to the next case | STYLE | SF_SWITCH_FALLTHROUGH | 6401 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.doPhase1QBExpr(ASTNode, QBExpr, String, String) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 417 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.getMetaData(QB, ReadEntity) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1805 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.processBoundary(int, ASTNode) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11587 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.processWindowFunction(ASTNode, ASTNode) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11446 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.processWindowSpec(ASTNode) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11526 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.putAccessedColumnsToReadEntity(HashSet, ColumnAccessInfo) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10104 | Medium |
| org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genHavingPlan(String, QB, Operator, Map) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 2623 | Medium |
| org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genSelectDIAST(RowResolver) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 12059 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to node in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer$ConstantExprCheck.visit(Object, Object, int, Map) | STYLE | DLS_DEAD_LOCAL_STORE | 11635 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread public/protected field: org.apache.hadoop.hive.ql.parse.SemanticAnalyzer$PlannerContext.child | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 9932 | Medium |
| Unread public/protected field: org.apache.hadoop.hive.ql.parse.SemanticAnalyzer$PlannerContext.ctx_1 | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 9933 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.TableAccessAnalyzer$GroupByProcessor be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 112 | Medium |
| Unread public/protected field: org.apache.hadoop.hive.ql.parse.TableAccessAnalyzer$GroupByProcessor.pGraphContext | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 113 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.TableAccessAnalyzer$JoinProcessor be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 156 | Medium |
| Unread public/protected field: org.apache.hadoop.hive.ql.parse.TableAccessAnalyzer$JoinProcessor.pGraphContext | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 160 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxing/unboxing to parse a primitive new org.apache.hadoop.hive.ql.parse.TableSample(String, String, ArrayList) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 71 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.parse.TezCompiler.runDynamicPartitionPruning(OptimizeTezProcContext, Set, Set) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 297 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Nullcheck of procCtx at line 126 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.TypeCheckProcFactory.processGByExpr(Node, Object) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 123 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.parse.TypeCheckProcFactory$DefaultExprProcessor.getXpathOrFuncExprNodeDesc(ASTNode, boolean, ArrayList, TypeCheckCtx) invokes inefficient new Byte(String) constructor; use Byte.valueOf(String) instead | PERFORMANCE | DM_NUMBER_CTOR | 913 | Medium |
| org.apache.hadoop.hive.ql.parse.TypeCheckProcFactory$DefaultExprProcessor.getXpathOrFuncExprNodeDesc(ASTNode, boolean, ArrayList, TypeCheckCtx) invokes inefficient new Integer(String) constructor; use Integer.valueOf(String) instead | PERFORMANCE | DM_NUMBER_CTOR | 917 | Medium |
| org.apache.hadoop.hive.ql.parse.TypeCheckProcFactory$DefaultExprProcessor.getXpathOrFuncExprNodeDesc(ASTNode, boolean, ArrayList, TypeCheckCtx) invokes inefficient new Long(String) constructor; use Long.valueOf(String) instead | PERFORMANCE | DM_NUMBER_CTOR | 919 | Medium |
| org.apache.hadoop.hive.ql.parse.TypeCheckProcFactory$DefaultExprProcessor.getXpathOrFuncExprNodeDesc(ASTNode, boolean, ArrayList, TypeCheckCtx) invokes inefficient new Short(String) constructor; use Short.valueOf(String) instead | PERFORMANCE | DM_NUMBER_CTOR | 915 | Medium |
| Null passed for nonnull parameter of org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc.newInstance(GenericUDF, String, List) in org.apache.hadoop.hive.ql.parse.TypeCheckProcFactory$DefaultExprProcessor.getXpathOrFuncExprNodeDesc(ASTNode, boolean, ArrayList, TypeCheckCtx) | CORRECTNESS | NP_NULL_PARAM_DEREF | 958 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of partCols, which is known to be non-null in org.apache.hadoop.hive.ql.parse.UpdateDeleteSemanticAnalyzer.reparseAndSuperAnalyze(ASTNode) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 224 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible null pointer dereference of order in org.apache.hadoop.hive.ql.parse.WindowingSpec.validateValueBoundary(WindowingSpec$BoundarySpec, PTFInvocationSpec$OrderSpec) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 293 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.parse.WindowingSpec$BoundarySpec.UNBOUNDED_AMOUNT isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 556 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.parse.WindowingSpec$CurrentRowSpec defines compareTo(Object) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.parse.WindowingSpec$RangeBoundarySpec defines compareTo(Object) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.parse.WindowingSpec$ValueBoundarySpec defines compareTo(Object) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Switch statement found in org.apache.hadoop.hive.ql.parse.authorization.HiveAuthorizationTaskFactoryImpl.createShowRoleGrantTask(ASTNode, Path, HashSet, HashSet) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 90 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.parse.spark.GenSparkUtils.getEdgeProperty(ReduceSinkOperator, ReduceWork) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 367 | High |
| Incorrect lazy initialization of static field org.apache.hadoop.hive.ql.parse.spark.GenSparkUtils.utils in org.apache.hadoop.hive.ql.parse.spark.GenSparkUtils.getUtils() | MT_CORRECTNESS | LI_LAZY_INIT_STATIC | 78 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible null pointer dereference of procContext in org.apache.hadoop.hive.ql.parse.spark.GenSparkWork.process(Node, Stack, NodeProcessorCtx, Object[]) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 81 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.AbstractOperatorDesc is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 26 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.AddPartitionDesc defines non-transient non-serializable instance field partitions | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.plan.AggregationDesc.genericUDAFEvaluator is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Field BaseWork.vectorMode masks field in superclass org.apache.hadoop.hive.ql.plan.AbstractOperatorDesc | CORRECTNESS | MF_CLASS_MASKS_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.ColStatistics defines clone() but doesn't implement Cloneable | BAD_PRACTICE | CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE | 166 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.ColStatistics$Range defines clone() but doesn't implement Cloneable | BAD_PRACTICE | CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE | 200 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.ColumnStatsDesc implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 34 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.ColumnStatsUpdateWork.toString() may return null | BAD_PRACTICE | NP_TOSTRING_COULD_RETURN_NULL | 49 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to pathToAliases in org.apache.hadoop.hive.ql.plan.ConditionalResolverCommonJoin.resolveMapJoinTask(ConditionalResolverCommonJoin$ConditionalResolverCommonJoinCtx, HiveConf) | STYLE | DLS_DEAD_LOCAL_STORE | 169 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.ConditionalResolverCommonJoin$ConditionalResolverCommonJoinCtx defines clone() but doesn't implement Cloneable | BAD_PRACTICE | CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE | 114 | High |
| Class org.apache.hadoop.hive.ql.plan.ConditionalResolverCommonJoin$ConditionalResolverCommonJoinCtx defines non-transient non-serializable instance field hdfsTmpDir | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.plan.ConditionalResolverCommonJoin$ConditionalResolverCommonJoinCtx defines non-transient non-serializable instance field localTmpDir | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.ConditionalResolverSkewJoin$ConditionalResolverSkewJoinCtx defines non-transient non-serializable instance field dirToTaskMap | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.CopyWork defines non-transient non-serializable instance field fromPath | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.plan.CopyWork defines non-transient non-serializable instance field toPath | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.DDLWork defines non-transient non-serializable instance field dropIdxDesc | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.plan.DDLWork defines non-transient non-serializable instance field grantRevokeRoleDDL | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.plan.DDLWork defines non-transient non-serializable instance field mergeFilesDesc | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.plan.DDLWork defines non-transient non-serializable instance field showGrantDesc | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.DropTableDesc defines non-transient non-serializable instance field partSpecs | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.DummyStoreDesc.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 35 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.DynamicPartitionCtx defines non-transient non-serializable instance field rootPath | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.DynamicPruningEventDesc is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 28 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.ExplainSQRewriteWork defines non-transient non-serializable instance field ctx | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.plan.ExplainSQRewriteWork defines non-transient non-serializable instance field qb | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.ExplainWork defines non-transient non-serializable instance field pCtx | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.plan.ExplainWork defines non-transient non-serializable instance field resFile | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.ExprNodeColumnDesc defines clone() but doesn't implement Cloneable | BAD_PRACTICE | CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE | 132 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.ExprNodeColumnListDesc defines clone() but doesn't implement Cloneable | BAD_PRACTICE | CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE | 42 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.ExprNodeConstantDesc defines clone() but doesn't implement Cloneable | BAD_PRACTICE | CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE | 126 | Medium |
| Dead store to pc in org.apache.hadoop.hive.ql.plan.ExprNodeConstantDesc.getWritableObjectInspector() | STYLE | DLS_DEAD_LOCAL_STORE | 87 | Medium |
| org.apache.hadoop.hive.ql.plan.ExprNodeConstantDesc.hexArray should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 38 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.ExprNodeDynamicListDesc defines clone() but doesn't implement Cloneable | BAD_PRACTICE | CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE | 60 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.ExprNodeFieldDesc defines clone() but doesn't implement Cloneable | BAD_PRACTICE | CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE | 106 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc defines clone() but doesn't implement Cloneable | BAD_PRACTICE | CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE | 177 | High |
| The field org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc.funcText is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.ExprNodeNullDesc defines clone() but doesn't implement Cloneable | BAD_PRACTICE | CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE | 55 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.FetchWork.toString() invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 284 | Medium |
| Class org.apache.hadoop.hive.ql.plan.FetchWork defines non-transient non-serializable instance field partDir | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.plan.FetchWork defines non-transient non-serializable instance field tblDir | BAD_PRACTICE | SE_BAD_FIELD | High | |
| The field org.apache.hadoop.hive.ql.plan.FetchWork.rowsComputedFromStats is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.FileMergeDesc defines non-transient non-serializable instance field outputPath | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.FileSinkDesc.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 134 | Medium |
| Class org.apache.hadoop.hive.ql.plan.FileSinkDesc defines non-transient non-serializable instance field dirName | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.plan.FileSinkDesc defines non-transient non-serializable instance field parentDir | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.FilterDesc.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 151 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.FilterDesc$SampleDesc.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 68 | Medium |
| org.apache.hadoop.hive.ql.plan.FilterDesc$SampleDesc.toString() may return null | BAD_PRACTICE | NP_TOSTRING_COULD_RETURN_NULL | 73 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.ForwardDesc.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 35 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.GrantDesc implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 46 | Medium |
| Class org.apache.hadoop.hive.ql.plan.GrantDesc defines non-transient non-serializable instance field privilegeSubjectDesc | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.GroupByDesc.serialVersionUID isn't final | BAD_PRACTICE | SE_NONFINAL_SERIALVERSIONID | Medium | |
| org.apache.hadoop.hive.ql.plan.GroupByDesc is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 34 | Medium |
| The field org.apache.hadoop.hive.ql.plan.GroupByDesc.isDistinct is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.HashTableSinkDesc.getConds() may expose internal representation by returning HashTableSinkDesc.conds | MALICIOUS_CODE | EI_EXPOSE_REP | 249 | Medium |
| org.apache.hadoop.hive.ql.plan.HashTableSinkDesc.getFilterMap() may expose internal representation by returning HashTableSinkDesc.filterMap | MALICIOUS_CODE | EI_EXPOSE_REP | 279 | Medium |
| org.apache.hadoop.hive.ql.plan.HashTableSinkDesc.getTagOrder() may expose internal representation by returning HashTableSinkDesc.tagOrder | MALICIOUS_CODE | EI_EXPOSE_REP | 259 | Medium |
| org.apache.hadoop.hive.ql.plan.HashTableSinkDesc.setConds(JoinCondDesc[]) may expose internal representation by storing an externally mutable object into HashTableSinkDesc.conds | MALICIOUS_CODE | EI_EXPOSE_REP2 | 254 | Medium |
| org.apache.hadoop.hive.ql.plan.HashTableSinkDesc.setFilterMap(int[][]) may expose internal representation by storing an externally mutable object into HashTableSinkDesc.filterMap | MALICIOUS_CODE | EI_EXPOSE_REP2 | 284 | Medium |
| org.apache.hadoop.hive.ql.plan.HashTableSinkDesc.setTagOrder(Byte[]) may expose internal representation by storing an externally mutable object into HashTableSinkDesc.tagOrder | MALICIOUS_CODE | EI_EXPOSE_REP2 | 264 | Medium |
| Field HashTableSinkDesc.conds masks field in superclass org.apache.hadoop.hive.ql.plan.JoinDesc | CORRECTNESS | MF_CLASS_MASKS_FIELD | High | |
| Field HashTableSinkDesc.noOuterJoin masks field in superclass org.apache.hadoop.hive.ql.plan.JoinDesc | CORRECTNESS | MF_CLASS_MASKS_FIELD | High | |
| Field HashTableSinkDesc.outputColumnNames masks field in superclass org.apache.hadoop.hive.ql.plan.JoinDesc | CORRECTNESS | MF_CLASS_MASKS_FIELD | High | |
| Field HashTableSinkDesc.tagOrder masks field in superclass org.apache.hadoop.hive.ql.plan.JoinDesc | CORRECTNESS | MF_CLASS_MASKS_FIELD | High | |
| Class org.apache.hadoop.hive.ql.plan.HashTableSinkDesc defines non-transient non-serializable instance field bigKeysDirMap | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.plan.HashTableSinkDesc defines non-transient non-serializable instance field smallKeysDirMap | BAD_PRACTICE | SE_BAD_FIELD | High | |
| The field org.apache.hadoop.hive.ql.plan.HashTableSinkDesc.bucketMapjoinContext is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.plan.HashTableSinkDesc.reversedExprs is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.HiveOperation.getInputRequiredPrivileges() may expose internal representation by returning HiveOperation.inputRequiredPrivileges | MALICIOUS_CODE | EI_EXPOSE_REP | 130 | Medium |
| org.apache.hadoop.hive.ql.plan.HiveOperation.getOutputRequiredPrivileges() may expose internal representation by returning HiveOperation.outputRequiredPrivileges | MALICIOUS_CODE | EI_EXPOSE_REP | 134 | Medium |
| Class org.apache.hadoop.hive.ql.plan.HiveOperation defines non-transient non-serializable instance field inputRequiredPrivileges | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.plan.HiveOperation defines non-transient non-serializable instance field outputRequiredPrivileges | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.HiveOperation$PrivilegeAgreement.getInputColumnLevelRequiredPriv() may expose internal representation by returning HiveOperation$PrivilegeAgreement.inputColumnLevelRequiredPriv | MALICIOUS_CODE | EI_EXPOSE_REP | 203 | Medium |
| org.apache.hadoop.hive.ql.plan.HiveOperation$PrivilegeAgreement.getInputDBLevelRequiredPriv() may expose internal representation by returning HiveOperation$PrivilegeAgreement.inputDBLevelRequiredPriv | MALICIOUS_CODE | EI_EXPOSE_REP | 195 | Medium |
| org.apache.hadoop.hive.ql.plan.HiveOperation$PrivilegeAgreement.getInputTableLevelRequiredPriv() may expose internal representation by returning HiveOperation$PrivilegeAgreement.inputTableLevelRequiredPriv | MALICIOUS_CODE | EI_EXPOSE_REP | 199 | Medium |
| org.apache.hadoop.hive.ql.plan.HiveOperation$PrivilegeAgreement.getInputUserLevelRequiredPriv() may expose internal representation by returning HiveOperation$PrivilegeAgreement.inputUserLevelRequiredPriv | MALICIOUS_CODE | EI_EXPOSE_REP | 191 | Medium |
| org.apache.hadoop.hive.ql.plan.HiveOperation$PrivilegeAgreement.getOutputColumnLevelRequiredPriv() may expose internal representation by returning HiveOperation$PrivilegeAgreement.outputColumnLevelRequiredPriv | MALICIOUS_CODE | EI_EXPOSE_REP | 219 | Medium |
| org.apache.hadoop.hive.ql.plan.HiveOperation$PrivilegeAgreement.getOutputDBLevelRequiredPriv() may expose internal representation by returning HiveOperation$PrivilegeAgreement.outputDBLevelRequiredPriv | MALICIOUS_CODE | EI_EXPOSE_REP | 211 | Medium |
| org.apache.hadoop.hive.ql.plan.HiveOperation$PrivilegeAgreement.getOutputTableLevelRequiredPriv() may expose internal representation by returning HiveOperation$PrivilegeAgreement.outputTableLevelRequiredPriv | MALICIOUS_CODE | EI_EXPOSE_REP | 215 | Medium |
| org.apache.hadoop.hive.ql.plan.HiveOperation$PrivilegeAgreement.getOutputUserLevelRequiredPriv() may expose internal representation by returning HiveOperation$PrivilegeAgreement.outputUserLevelRequiredPriv | MALICIOUS_CODE | EI_EXPOSE_REP | 207 | Medium |
| org.apache.hadoop.hive.ql.plan.HiveOperation$PrivilegeAgreement.putColumnLevelRequiredPriv(Privilege[], Privilege[]) may expose internal representation by storing an externally mutable object into HiveOperation$PrivilegeAgreement.inputColumnLevelRequiredPriv | MALICIOUS_CODE | EI_EXPOSE_REP2 | 185 | Medium |
| org.apache.hadoop.hive.ql.plan.HiveOperation$PrivilegeAgreement.putColumnLevelRequiredPriv(Privilege[], Privilege[]) may expose internal representation by storing an externally mutable object into HiveOperation$PrivilegeAgreement.outputColumnLevelRequiredPriv | MALICIOUS_CODE | EI_EXPOSE_REP2 | 186 | Medium |
| org.apache.hadoop.hive.ql.plan.HiveOperation$PrivilegeAgreement.putDBLevelRequiredPriv(Privilege[], Privilege[]) may expose internal representation by storing an externally mutable object into HiveOperation$PrivilegeAgreement.inputDBLevelRequiredPriv | MALICIOUS_CODE | EI_EXPOSE_REP2 | 170 | Medium |
| org.apache.hadoop.hive.ql.plan.HiveOperation$PrivilegeAgreement.putDBLevelRequiredPriv(Privilege[], Privilege[]) may expose internal representation by storing an externally mutable object into HiveOperation$PrivilegeAgreement.outputDBLevelRequiredPriv | MALICIOUS_CODE | EI_EXPOSE_REP2 | 171 | Medium |
| org.apache.hadoop.hive.ql.plan.HiveOperation$PrivilegeAgreement.putTableLevelRequiredPriv(Privilege[], Privilege[]) may expose internal representation by storing an externally mutable object into HiveOperation$PrivilegeAgreement.inputTableLevelRequiredPriv | MALICIOUS_CODE | EI_EXPOSE_REP2 | 178 | Medium |
| org.apache.hadoop.hive.ql.plan.HiveOperation$PrivilegeAgreement.putTableLevelRequiredPriv(Privilege[], Privilege[]) may expose internal representation by storing an externally mutable object into HiveOperation$PrivilegeAgreement.outputTableLevelRequiredPriv | MALICIOUS_CODE | EI_EXPOSE_REP2 | 179 | Medium |
| org.apache.hadoop.hive.ql.plan.HiveOperation$PrivilegeAgreement.putUserLevelRequiredPriv(Privilege[], Privilege[]) may expose internal representation by storing an externally mutable object into HiveOperation$PrivilegeAgreement.inputUserLevelRequiredPriv | MALICIOUS_CODE | EI_EXPOSE_REP2 | 162 | Medium |
| org.apache.hadoop.hive.ql.plan.HiveOperation$PrivilegeAgreement.putUserLevelRequiredPriv(Privilege[], Privilege[]) may expose internal representation by storing an externally mutable object into HiveOperation$PrivilegeAgreement.outputUserLevelRequiredPriv | MALICIOUS_CODE | EI_EXPOSE_REP2 | 163 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.JoinDesc.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 133 | High |
| org.apache.hadoop.hive.ql.plan.JoinDesc.getBaseSrc() may expose internal representation by returning JoinDesc.baseSrc | MALICIOUS_CODE | EI_EXPOSE_REP | 534 | Medium |
| org.apache.hadoop.hive.ql.plan.JoinDesc.getConds() may expose internal representation by returning JoinDesc.conds | MALICIOUS_CODE | EI_EXPOSE_REP | 311 | Medium |
| org.apache.hadoop.hive.ql.plan.JoinDesc.getFilterMap() may expose internal representation by returning JoinDesc.filterMap | MALICIOUS_CODE | EI_EXPOSE_REP | 449 | Medium |
| org.apache.hadoop.hive.ql.plan.JoinDesc.getLeftAliases() may expose internal representation by returning JoinDesc.leftAliases | MALICIOUS_CODE | EI_EXPOSE_REP | 530 | Medium |
| org.apache.hadoop.hive.ql.plan.JoinDesc.getNullSafes() may expose internal representation by returning JoinDesc.nullsafes | MALICIOUS_CODE | EI_EXPOSE_REP | 429 | Medium |
| org.apache.hadoop.hive.ql.plan.JoinDesc.getRightAliases() may expose internal representation by returning JoinDesc.rightAliases | MALICIOUS_CODE | EI_EXPOSE_REP | 562 | Medium |
| org.apache.hadoop.hive.ql.plan.JoinDesc.getTagOrder() may expose internal representation by returning JoinDesc.tagOrder | MALICIOUS_CODE | EI_EXPOSE_REP | 324 | Medium |
| new org.apache.hadoop.hive.ql.plan.JoinDesc(Map, List, boolean, JoinCondDesc[], Map, ExprNodeDesc[][]) may expose internal representation by storing an externally mutable object into JoinDesc.conds | MALICIOUS_CODE | EI_EXPOSE_REP2 | 116 | Medium |
| new org.apache.hadoop.hive.ql.plan.JoinDesc(Map, List, boolean, JoinCondDesc[], Map, ExprNodeDesc[][]) may expose internal representation by storing an externally mutable object into JoinDesc.joinKeys | MALICIOUS_CODE | EI_EXPOSE_REP2 | 118 | Medium |
| org.apache.hadoop.hive.ql.plan.JoinDesc.setConds(JoinCondDesc[]) may expose internal representation by storing an externally mutable object into JoinDesc.conds | MALICIOUS_CODE | EI_EXPOSE_REP2 | 315 | Medium |
| org.apache.hadoop.hive.ql.plan.JoinDesc.setFilterMap(int[][]) may expose internal representation by storing an externally mutable object into JoinDesc.filterMap | MALICIOUS_CODE | EI_EXPOSE_REP2 | 453 | Medium |
| org.apache.hadoop.hive.ql.plan.JoinDesc.setNullSafes(boolean[]) may expose internal representation by storing an externally mutable object into JoinDesc.nullsafes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 433 | Medium |
| org.apache.hadoop.hive.ql.plan.JoinDesc.setTagOrder(Byte[]) may expose internal representation by storing an externally mutable object into JoinDesc.tagOrder | MALICIOUS_CODE | EI_EXPOSE_REP2 | 334 | Medium |
| Class org.apache.hadoop.hive.ql.plan.JoinDesc defines non-transient non-serializable instance field bigKeysDirMap | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.plan.JoinDesc defines non-transient non-serializable instance field smallKeysDirMap | BAD_PRACTICE | SE_BAD_FIELD | High | |
| The field org.apache.hadoop.hive.ql.plan.JoinDesc.aliasToOpInfo is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.plan.JoinDesc.baseSrc is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.plan.JoinDesc.id is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.plan.JoinDesc.joinKeys is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.plan.JoinDesc.leftAlias is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.plan.JoinDesc.leftAliases is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.plan.JoinDesc.leftInputJoin is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.plan.JoinDesc.mapAliases is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.plan.JoinDesc.mapSideJoin is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.plan.JoinDesc.reversedExprs is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.plan.JoinDesc.rightAliases is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.plan.JoinDesc.streamAliases is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.ListBucketingCtx defines non-transient non-serializable instance field rowSkewedIndex | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.LoadDesc defines non-transient non-serializable instance field sourcePath | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.plan.LoadMultiFilesDesc.srcDirs is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
| The field org.apache.hadoop.hive.ql.plan.LoadMultiFilesDesc.targetDirs is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.plan.MapJoinDesc.bigTableAlias is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.MapWork.getBaseSrc() may expose internal representation by returning MapWork.baseSrc | MALICIOUS_CODE | EI_EXPOSE_REP | 573 | Medium |
| org.apache.hadoop.hive.ql.plan.MapWork.setBaseSrc(String[]) may expose internal representation by storing an externally mutable object into MapWork.baseSrc | MALICIOUS_CODE | EI_EXPOSE_REP2 | 577 | Medium |
| Class org.apache.hadoop.hive.ql.plan.MapWork defines non-transient non-serializable instance field tmpHDFSPath | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.MapredLocalWork defines non-transient non-serializable instance field tmpHDFSPath | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.plan.MapredLocalWork defines non-transient non-serializable instance field tmpPath | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.PTFDesc defines non-transient non-serializable instance field funcDef | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.plan.PTFDesc defines non-transient non-serializable instance field llInfo | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to inpShape in org.apache.hadoop.hive.ql.plan.PTFDeserializer.initialize(PartitionedTableFunctionDef) | STYLE | DLS_DEAD_LOCAL_STORE | 186 | Medium |
| org.apache.hadoop.hive.ql.plan.PTFDeserializer.initialize(ShapeDetails, StructObjectInspector) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 262 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.PartitionDesc.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 230 | Medium |
| Load of known null value in org.apache.hadoop.hive.ql.plan.PartitionDesc.setOutputFileFormatClass(Class) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 168 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Primitive boxed just to call toString in org.apache.hadoop.hive.ql.plan.PlanUtils.getFieldSchemasFromColumnInfo(ArrayList, String) | PERFORMANCE | DM_BOXED_PRIMITIVE_TOSTRING | 564 | High |
| org.apache.hadoop.hive.ql.plan.PlanUtils.getParentViewInfo(String, Map) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 977 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.PrincipalDesc implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 35 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.PrivilegeDesc implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 35 | Medium |
| Class org.apache.hadoop.hive.ql.plan.PrivilegeDesc defines non-transient non-serializable instance field privilege | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.ReduceSinkDesc.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 148 | Medium |
| Dead store to wasUnset in org.apache.hadoop.hive.ql.plan.ReduceSinkDesc.setReducerTraits(EnumSet) | STYLE | DLS_DEAD_LOCAL_STORE | 411 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.ReduceWork defines non-transient non-serializable instance field keyObjectInspector | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.plan.ReduceWork defines non-transient non-serializable instance field valueObjectInspector | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| org.apache.hadoop.hive.ql.plan.ReduceWork is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 59 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.RevokeDesc implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 37 | Medium |
| Class org.apache.hadoop.hive.ql.plan.RevokeDesc defines non-transient non-serializable instance field privilegeSubjectDesc | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.SelectDesc.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 61 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.ShowConfDesc defines non-transient non-serializable instance field resFile | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.SparkWork defines non-transient non-serializable instance field edgeProperties | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Write to static field org.apache.hadoop.hive.ql.plan.SparkWork.counter from instance method new org.apache.hadoop.hive.ql.plan.SparkWork(String) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 65 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.SparkWork$ComparableName defines compareTo(SparkWork$ComparableName) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 353 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.SparkWork$Dependency defines compareTo(SparkWork$Dependency) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 304 | Medium |
| Class org.apache.hadoop.hive.ql.plan.SparkWork$Dependency defines non-transient non-serializable instance field prop | BAD_PRACTICE | SE_BAD_FIELD | High | |
| org.apache.hadoop.hive.ql.plan.SparkWork$Dependency is serializable and an inner class | BAD_PRACTICE | SE_INNER_CLASS | 1 | Medium |
| Should org.apache.hadoop.hive.ql.plan.SparkWork$Dependency be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.Statistics defines clone() but doesn't implement Cloneable | BAD_PRACTICE | CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE | 135 | High |
| Class org.apache.hadoop.hive.ql.plan.Statistics defines non-transient non-serializable instance field columnStats | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.StatsNoJobWork defines non-transient non-serializable instance field prunedPartitionList | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.plan.StatsNoJobWork defines non-transient non-serializable instance field tableSpecs | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.StatsWork defines non-transient non-serializable instance field tableSpecs | BAD_PRACTICE | SE_BAD_FIELD | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.TableDesc.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 168 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.TableScanDesc.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 124 | Medium |
| The field org.apache.hadoop.hive.ql.plan.TableScanDesc.tableMetadata is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.TezWork defines non-transient non-serializable instance field edgeProperties | BAD_PRACTICE | SE_BAD_FIELD | High | |
| org.apache.hadoop.hive.ql.plan.TezWork is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 48 | Medium |
| Write to static field org.apache.hadoop.hive.ql.plan.TezWork.counter from instance method new org.apache.hadoop.hive.ql.plan.TezWork(String) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 79 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.TezWork$Dependency defines compareTo(TezWork$Dependency) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 281 | Medium |
| org.apache.hadoop.hive.ql.plan.TezWork$Dependency is serializable and an inner class | BAD_PRACTICE | SE_INNER_CLASS | 1 | Medium |
| Should org.apache.hadoop.hive.ql.plan.TezWork$Dependency be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.TruncateTableDesc defines non-transient non-serializable instance field inputDir | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| Class org.apache.hadoop.hive.ql.plan.TruncateTableDesc defines non-transient non-serializable instance field outputDir | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.UDTFDesc defines non-transient non-serializable instance field genericUDTF | BAD_PRACTICE | SE_BAD_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.hadoop.hive.ql.plan.UnionDesc.numInputs is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.VectorGroupByDesc.serialVersionUID isn't final | BAD_PRACTICE | SE_NONFINAL_SERIALVERSIONID | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.api.Adjacency implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.api.Graph implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.api.Operator implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.api.Query implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.api.QueryPlan implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.api.Stage implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.hadoop.hive.ql.plan.api.Task implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of alias which is known to be null in org.apache.hadoop.hive.ql.ppd.ExprWalkerProcFactory$FieldExprProcessor.process(Node, Stack, NodeProcessorCtx, Object[]) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE | 143 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to newFilters in org.apache.hadoop.hive.ql.ppd.OpProcFactory$ReduceSinkPPD.applyFilterTransitivity(JoinOperator, int, OpWalkerInfo) | STYLE | DLS_DEAD_LOCAL_STORE | 606 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to pCtx in org.apache.hadoop.hive.ql.ppd.SyntheticJoinPredicate$JoinSynthetic.process(Node, Stack, NodeProcessorCtx, Object[]) | STYLE | DLS_DEAD_LOCAL_STORE | 127 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exceptional return value of java.io.File.mkdir() ignored in org.apache.hadoop.hive.ql.processors.CompileProcessor.compile(SessionState) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 226 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.processors.CompileProcessor$CompileProcessorException be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 303 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.processors.CryptoProcessor.createEncryptionKey(String[]) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 133 | High |
| org.apache.hadoop.hive.ql.processors.CryptoProcessor.createEncryptionKey(String[]) invokes inefficient new Integer(String) constructor; use Integer.valueOf(String) instead | PERFORMANCE | DM_NUMBER_CTOR | 133 | Medium |
| Redundant nullcheck of cryptoZone, which is known to be non-null in org.apache.hadoop.hive.ql.processors.CryptoProcessor.createEncryptionZone(String[]) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 152 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Nullcheck of ss at line 68 of value previously dereferenced in org.apache.hadoop.hive.ql.processors.DfsProcessor.run(String) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 68 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unused public or protected field: org.apache.hadoop.hive.ql.security.SessionStateConfigUserAuthenticator.conf | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unused public or protected field: org.apache.hadoop.hive.ql.security.SessionStateUserAuthenticator.conf | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Switch statement found in org.apache.hadoop.hive.ql.security.authorization.AuthorizationPreEventListener.onEvent(PreEventContext) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 134 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProviderBase$HiveProxy be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 46 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.security.authorization.Privilege.ALL isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 89 | High |
| org.apache.hadoop.hive.ql.security.authorization.Privilege.ALTER_DATA isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 25 | High |
| org.apache.hadoop.hive.ql.security.authorization.Privilege.ALTER_METADATA isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 27 | High |
| org.apache.hadoop.hive.ql.security.authorization.Privilege.CREATE isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 28 | High |
| org.apache.hadoop.hive.ql.security.authorization.Privilege.DELETE isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 116 | High |
| org.apache.hadoop.hive.ql.security.authorization.Privilege.DROP isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 29 | High |
| org.apache.hadoop.hive.ql.security.authorization.Privilege.INDEX isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 104 | High |
| org.apache.hadoop.hive.ql.security.authorization.Privilege.INSERT isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 113 | High |
| org.apache.hadoop.hive.ql.security.authorization.Privilege.LOCK isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 31 | High |
| org.apache.hadoop.hive.ql.security.authorization.Privilege.SELECT isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 26 | High |
| org.apache.hadoop.hive.ql.security.authorization.Privilege.SHOW_DATABASE isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 62 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.security.authorization.PrivilegeRegistry.Registry isn't final but should be refactored to be so | MALICIOUS_CODE | MS_SHOULD_BE_REFACTORED_TO_BE_FINAL | 32 | High |
| org.apache.hadoop.hive.ql.security.authorization.PrivilegeRegistry.RegistryV2 isn't final but should be refactored to be so | MALICIOUS_CODE | MS_SHOULD_BE_REFACTORED_TO_BE_FINAL | 33 | High |
| The field name org.apache.hadoop.hive.ql.security.authorization.PrivilegeRegistry.Registry doesn't start with a lower case letter | BAD_PRACTICE | NM_FIELD_NAMING_CONVENTION | Medium | |
| The field name org.apache.hadoop.hive.ql.security.authorization.PrivilegeRegistry.RegistryV2 doesn't start with a lower case letter | BAD_PRACTICE | NM_FIELD_NAMING_CONVENTION | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.security.authorization.PrivilegeScope.ALLSCOPE isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 49 | High |
| org.apache.hadoop.hive.ql.security.authorization.PrivilegeScope.ALLSCOPE_EXCEPT_COLUMN isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 53 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider$DropPrivilegeExtractor.getReadReqPriv() may expose internal representation by returning StorageBasedAuthorizationProvider$DropPrivilegeExtractor.readReqPriv | MALICIOUS_CODE | EI_EXPOSE_REP | 474 | Medium |
| org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider$DropPrivilegeExtractor.getWriteReqPriv() may expose internal representation by returning StorageBasedAuthorizationProvider$DropPrivilegeExtractor.writeReqPriv | MALICIOUS_CODE | EI_EXPOSE_REP | 478 | Medium |
| Should org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider$DropPrivilegeExtractor be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 441 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.security.authorization.plugin.HivePrivilegeObject defines compareTo(HivePrivilegeObject) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 42 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.security.authorization.plugin.HivePrivilegeObject.toString() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 204 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.security.authorization.plugin.HiveRoleGrant defines compareTo(HiveRoleGrant) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 113 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.RequiredPrivileges$MissingPrivilegeCapturer be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 90 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Comparison of String objects using == or != in org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAccessController.initUserRoles() | BAD_PRACTICE | ES_COMPARING_STRINGS_WITH_EQ | 107 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAccessController.showPrivileges(HivePrincipal, HivePrivilegeObject) | STYLE | REC_CATCH_EXCEPTION | 444 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.session.OperationLog$LogFile(OperationLog, File): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 106 | High |
| Found reliance on default encoding in new org.apache.hadoop.hive.ql.session.OperationLog$LogFile(OperationLog, File): new java.io.PrintStream(OutputStream) | I18N | DM_DEFAULT_ENCODING | 107 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.session.OperationLog$LogFile.readResults(long): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 151 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.session.SessionState.getQueryCurrentTimestamp() may expose internal representation by returning SessionState.queryCurrentTimestamp | MALICIOUS_CODE | EI_EXPOSE_REP | 1505 | Medium |
| Possible null pointer dereference of SessionState.preReloadableAuxJars in org.apache.hadoop.hive.ql.session.SessionState.reloadAuxJars() | CORRECTNESS | NP_NULL_ON_SOME_PATH | 1028 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.stats.CounterStatsPublisher.publishStat(String, Map) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 54 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible null pointer dereference of colType in org.apache.hadoop.hive.ql.stats.StatsUtils.getColStatisticsFromExpression(HiveConf, Statistics, ExprNodeDesc) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 1179 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.stats.fs.FSStatsAggregator.aggregateStats(String, String) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 93 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.stats.fs.FSStatsPublisher.publishStat(String, Map) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 80 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.stats.jdbc.JDBCStatsAggregator.closeConnection() may fail to close Connection | BAD_PRACTICE | ODR_OPEN_DATABASE_RESOURCE | 198 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.stats.jdbc.JDBCStatsPublisher.closeConnection() may fail to close Connection | BAD_PRACTICE | ODR_OPEN_DATABASE_RESOURCE | 251 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.stats.jdbc.JDBCStatsPublisher.closeConnection() | STYLE | REC_CATCH_EXCEPTION | 253 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.stats.jdbc.JDBCStatsPublisher.init(Configuration) | STYLE | REC_CATCH_EXCEPTION | 315 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.stats.jdbc.JDBCStatsUtils.getCreate(String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 132 | Medium |
| org.apache.hadoop.hive.ql.stats.jdbc.JDBCStatsUtils.getInsert(String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 172 | Medium |
| org.apache.hadoop.hive.ql.stats.jdbc.JDBCStatsUtils.getUpdate(String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 153 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Switch statement found in org.apache.hadoop.hive.ql.tools.LineageInfo.process(Node, Stack, NodeProcessorCtx, Object[]) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 83 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.txn.compactor.CompactorMR$CompactorInputFormat.addFileToMap(Matcher, Path, boolean, Map) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 424 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.txn.compactor.CompactorMR$CompactorInputSplit.readFields(DataInput): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 305 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxing/unboxing to parse a primitive new org.apache.hadoop.hive.ql.txn.compactor.CompactorMR$StringableList(String) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 621 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxing/unboxing to parse a primitive new org.apache.hadoop.hive.ql.txn.compactor.CompactorMR$StringableMap(String) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 566 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Null passed for nonnull parameter of CompactorThread.resolveTable(CompactionInfo) in org.apache.hadoop.hive.ql.txn.compactor.Worker.run() | CORRECTNESS | NP_NULL_PARAM_DEREF | 95 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.UDAFPercentile$MyComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 1 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Comparison of String parameter using == or != in org.apache.hadoop.hive.ql.udf.UDFJson.evaluate(String, String) | BAD_PRACTICE | ES_COMPARING_PARAMETER_STRING_WITH_EQ | 126 | High |
| Comparison of String parameter using == or != in org.apache.hadoop.hive.ql.udf.UDFJson.evaluate(String, String) | BAD_PRACTICE | ES_COMPARING_PARAMETER_STRING_WITH_EQ | 127 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.UDFLike.parseSimplePattern(String) invokes inefficient new String() constructor | PERFORMANCE | DM_STRING_VOID_CTOR | 112 | Medium |
| org.apache.hadoop.hive.ql.udf.UDFLike.parseSimplePattern(String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 146 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Check for oddness that won't work for negative numbers in org.apache.hadoop.hive.ql.udf.UDFUnhex.evaluate(Text) | STYLE | IM_BAD_CHECK_FOR_ODD | 55 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage$AbstractGenericUDAFAverageEvaluator.terminatePartial(GenericUDAFEvaluator$AggregationBuffer) may expose internal representation by returning GenericUDAFAverage$AbstractGenericUDAFAverageEvaluator.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 439 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unused field: org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage$AbstractGenericUDAFAverageEvaluator$AverageAgg.count | PERFORMANCE | UUF_UNUSED_FIELD | Medium | |
| Unused field: org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage$AbstractGenericUDAFAverageEvaluator$AverageAgg.sum | PERFORMANCE | UUF_UNUSED_FIELD | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDAFBridge$GenericUDAFBridgeEvaluator.init(GenericUDAFEvaluator$Mode, ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDAFBridge$GenericUDAFBridgeEvaluator.parameterOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 103 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDAFComputeStats$GenericUDAFBinaryStatsEvaluator.reset(GenericUDAFEvaluator$AggregationBuffer) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 1145 | Medium |
| org.apache.hadoop.hive.ql.udf.generic.GenericUDAFComputeStats$GenericUDAFBinaryStatsEvaluator.terminate(GenericUDAFEvaluator$AggregationBuffer) may expose internal representation by returning GenericUDAFComputeStats$GenericUDAFBinaryStatsEvaluator.result | MALICIOUS_CODE | EI_EXPOSE_REP | 1253 | Medium |
| org.apache.hadoop.hive.ql.udf.generic.GenericUDAFComputeStats$GenericUDAFBinaryStatsEvaluator.terminatePartial(GenericUDAFEvaluator$AggregationBuffer) may expose internal representation by returning GenericUDAFComputeStats$GenericUDAFBinaryStatsEvaluator.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 1209 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDAFComputeStats$GenericUDAFBooleanStatsEvaluator.reset(GenericUDAFEvaluator$AggregationBuffer) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 205 | Medium |
| org.apache.hadoop.hive.ql.udf.generic.GenericUDAFComputeStats$GenericUDAFBooleanStatsEvaluator.terminate(GenericUDAFEvaluator$AggregationBuffer) may expose internal representation by returning GenericUDAFComputeStats$GenericUDAFBooleanStatsEvaluator.result | MALICIOUS_CODE | EI_EXPOSE_REP | 296 | Medium |
| org.apache.hadoop.hive.ql.udf.generic.GenericUDAFComputeStats$GenericUDAFBooleanStatsEvaluator.terminatePartial(GenericUDAFEvaluator$AggregationBuffer) may expose internal representation by returning GenericUDAFComputeStats$GenericUDAFBooleanStatsEvaluator.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 270 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDAFComputeStats$GenericUDAFStringStatsEvaluator.reset(GenericUDAFEvaluator$AggregationBuffer) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 852 | Medium |
| org.apache.hadoop.hive.ql.udf.generic.GenericUDAFComputeStats$GenericUDAFStringStatsEvaluator.terminate(GenericUDAFEvaluator$AggregationBuffer) may expose internal representation by returning GenericUDAFComputeStats$GenericUDAFStringStatsEvaluator.result | MALICIOUS_CODE | EI_EXPOSE_REP | 1008 | Medium |
| org.apache.hadoop.hive.ql.udf.generic.GenericUDAFComputeStats$GenericUDAFStringStatsEvaluator.terminatePartial(GenericUDAFEvaluator$AggregationBuffer) may expose internal representation by returning GenericUDAFComputeStats$GenericUDAFStringStatsEvaluator.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 943 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDAFCorrelation$GenericUDAFCorrelationEvaluator.terminatePartial(GenericUDAFEvaluator$AggregationBuffer) may expose internal representation by returning GenericUDAFCorrelation$GenericUDAFCorrelationEvaluator.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 310 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDAFCovariance$GenericUDAFCovarianceEvaluator.terminatePartial(GenericUDAFEvaluator$AggregationBuffer) may expose internal representation by returning GenericUDAFCovariance$GenericUDAFCovarianceEvaluator.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 282 | Medium |
| Unread field: org.apache.hadoop.hive.ql.udf.generic.GenericUDAFCovariance$GenericUDAFCovarianceEvaluator.warned; should this field be static? | PERFORMANCE | SS_SHOULD_BE_STATIC | 255 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDAFLeadLag$GenericUDAFLeadLagEvaluator.init(GenericUDAFEvaluator$Mode, ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDAFLeadLag$GenericUDAFLeadLagEvaluator.inputOI | MALICIOUS_CODE | EI_EXPOSE_REP2 | 113 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread field: org.apache.hadoop.hive.ql.udf.generic.GenericUDAFMax$GenericUDAFMaxEvaluator.warned | PERFORMANCE | URF_UNREAD_FIELD | 98 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread field: org.apache.hadoop.hive.ql.udf.generic.GenericUDAFMin$GenericUDAFMinEvaluator.warned | PERFORMANCE | URF_UNREAD_FIELD | 93 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDAFRank$GenericUDAFAbstractRankEvaluator.init(GenericUDAFEvaluator$Mode, ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDAFRank$GenericUDAFAbstractRankEvaluator.inputOI | MALICIOUS_CODE | EI_EXPOSE_REP2 | 126 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxed value is unboxed and then immediately reboxed in org.apache.hadoop.hive.ql.udf.generic.GenericUDAFSum$GenericUDAFSumDouble$1.getNextResult(GenericUDAFStreamingEvaluator$SumAvgEnhancer$SumAvgStreamingState) | PERFORMANCE | BX_UNBOXING_IMMEDIATELY_REBOXED | 344 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Boxed value is unboxed and then immediately reboxed in org.apache.hadoop.hive.ql.udf.generic.GenericUDAFSum$GenericUDAFSumLong$1.getNextResult(GenericUDAFStreamingEvaluator$SumAvgEnhancer$SumAvgStreamingState) | PERFORMANCE | BX_UNBOXING_IMMEDIATELY_REBOXED | 462 | Medium |
| org.apache.hadoop.hive.ql.udf.generic.GenericUDAFSum$GenericUDAFSumLong$1.getCurrentIntermediateResult(GenericUDAFStreamingEvaluator$SumAvgEnhancer$SumAvgStreamingState) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | 474 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDAFVariance$GenericUDAFVarianceEvaluator.terminatePartial(GenericUDAFEvaluator$AggregationBuffer) may expose internal representation by returning GenericUDAFVariance$GenericUDAFVarianceEvaluator.partialResult | MALICIOUS_CODE | EI_EXPOSE_REP | 232 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Impossible cast from org.apache.hadoop.io.IntWritable to org.apache.hadoop.io.LongWritable in org.apache.hadoop.hive.ql.udf.generic.GenericUDF.getConstantLongValue(ObjectInspector[], int) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 519 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFBaseCompare.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDFBaseCompare.argumentOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 77 | Medium |
| Unread public/protected field: org.apache.hadoop.hive.ql.udf.generic.GenericUDFBaseCompare.conversionHelper | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 58 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of val, which is known to be non-null in org.apache.hadoop.hive.ql.udf.generic.GenericUDFBaseTrim.evaluate(GenericUDF$DeferredObject[]) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 72 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFBetween.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDFBetween.argumentOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 47 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFCase.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDFCase.argumentOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 60 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFCoalesce.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDFCoalesce.argumentOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 43 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFConcat.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDFConcat.argumentOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 78 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFConcatWS.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDFConcatWS.argumentOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 84 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFField.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDFField.argumentOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 50 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFFormatNumber.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDFFormatNumber.argumentOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 144 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFGreatest.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDFGreatest.argumentOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 54 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFHash.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDFHash.argumentOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 40 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFIf.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDFIf.argumentOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 94 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFIn.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDFIn.argumentOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 76 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFNamedStruct.evaluate(GenericUDF$DeferredObject[]) may expose internal representation by returning GenericUDFNamedStruct.ret | MALICIOUS_CODE | EI_EXPOSE_REP | 73 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFNvl.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDFNvl.argumentOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFPrintf.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDFPrintf.argumentOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 95 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFSortArray.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDFSortArray.argumentOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 83 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFStruct.evaluate(GenericUDF$DeferredObject[]) may expose internal representation by returning GenericUDFStruct.ret | MALICIOUS_CODE | EI_EXPOSE_REP | 57 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFToChar is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 43 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFToVarchar is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 43 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFUtils$ConversionHelper.convertIfNecessary(Object[]) may expose internal representation by returning GenericUDFUtils$ConversionHelper.convertedParameters | MALICIOUS_CODE | EI_EXPOSE_REP | 398 | Medium |
| new org.apache.hadoop.hive.ql.udf.generic.GenericUDFUtils$ConversionHelper(Method, ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDFUtils$ConversionHelper.givenParameterOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 263 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFWhen.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDFWhen.argumentOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 59 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDTFJSONTuple.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDTFJSONTuple.inputOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 104 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDTFParseUrlTuple.initialize(ObjectInspector[]) may expose internal representation by storing an externally mutable object into GenericUDTFParseUrlTuple.inputOIs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 84 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.GenericUDTFPosExplode.process(Object[]) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 82 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.NumDistinctValueEstimator.deserialize(String, int) invokes inefficient new String() constructor | PERFORMANCE | DM_STRING_VOID_CTOR | 205 | Medium |
| org.apache.hadoop.hive.ql.udf.generic.NumDistinctValueEstimator.printNumDistinctValueEstimator() invokes inefficient new String() constructor | PERFORMANCE | DM_STRING_VOID_CTOR | 149 | Medium |
| org.apache.hadoop.hive.ql.udf.generic.NumDistinctValueEstimator.serialize() invokes inefficient new String() constructor | PERFORMANCE | DM_STRING_VOID_CTOR | 169 | Medium |
| Integral division result cast to double or float in org.apache.hadoop.hive.ql.udf.generic.NumDistinctValueEstimator.estimateNumDistinctValuesPCSA() | STYLE | ICAST_IDIV_CAST_TO_DOUBLE | 337 | Medium |
| org.apache.hadoop.hive.ql.udf.generic.NumDistinctValueEstimator.deserialize(String, int) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 211 | Medium |
| org.apache.hadoop.hive.ql.udf.generic.NumDistinctValueEstimator.printNumDistinctValueEstimator() concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 158 | Medium |
| org.apache.hadoop.hive.ql.udf.generic.NumDistinctValueEstimator.serialize() concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 171 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Test for floating point equality in org.apache.hadoop.hive.ql.udf.generic.NumericHistogram.add(double) | STYLE | FE_FLOATING_POINT_EQUALITY | 196 | High |
| Test for floating point equality in org.apache.hadoop.hive.ql.udf.generic.NumericHistogram.trim() | STYLE | FE_FLOATING_POINT_EQUALITY | 229 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.NumericHistogram$Coord defines compareTo(Object) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 44 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.udf.generic.SimpleGenericUDAFParameterInfo.getParameterObjectInspectors() may expose internal representation by returning SimpleGenericUDAFParameterInfo.parameters | MALICIOUS_CODE | EI_EXPOSE_REP | 54 | Medium |
| new org.apache.hadoop.hive.ql.udf.generic.SimpleGenericUDAFParameterInfo(ObjectInspector[], boolean, boolean) may expose internal representation by storing an externally mutable object into SimpleGenericUDAFParameterInfo.parameters | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread field: org.apache.hadoop.hive.ql.udf.ptf.MatchPath$SymbolsInfo.sz | PERFORMANCE | URF_UNREAD_FIELD | 381 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible null pointer dereference of s1 in org.apache.hadoop.hive.ql.udf.ptf.WindowingTableFunction$StringValueBoundaryScanner.isEqual(Object, Object) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 1193 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.util.DosToUnix.convertWindowsScriptToUnix(File): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 42 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.util.DosToUnix.convertWindowsScriptToUnix(File): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 40 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.util.DosToUnix.isWindowsScript(File): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 80 | High |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.util.DosToUnix.isWindowsScript(File) | STYLE | REC_CATCH_EXCEPTION | 93 | Medium |