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 | 531 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.Driver.getResults(List) invokes inefficient new String() constructor | PERFORMANCE | DM_STRING_VOID_CTOR | 1649 | 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 | 931 | 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 | 403 | Medium |
| org.apache.hadoop.hive.ql.Driver.getLockObjects(Database, Table, Partition, HiveLockMode) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 861 | 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 | 630 | 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 | 153 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread field: org.apache.hadoop.hive.ql.QueryProperties.hasJoin | PERFORMANCE | URF_UNREAD_FIELD | 35 | 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 | 1720 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.DDLTask.showConf(Hive, ShowConfDesc): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 521 | 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 | 3022 | 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 | 242 | 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 | 246 | 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 | 244 | 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 | 850 | Medium |
| org.apache.hadoop.hive.ql.exec.DDLTask.alterTable(Hive, AlterTableDesc) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 3501 | 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 | 2057 | 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 | 179 | 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 |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.ExplainTask.execute(DriverContext): new java.io.PrintStream(OutputStream) | I18N | DM_DEFAULT_ENCODING | 270 | High |
| Potentially dangerous use of non-short-circuit logic in org.apache.hadoop.hive.ql.exec.ExplainTask.shouldPrint(Explain, Object) | STYLE | NS_DANGEROUS_NON_SHORT_CIRCUIT | 742 | High |
| Redundant nullcheck of val, which is known to be non-null in org.apache.hadoop.hive.ql.exec.ExplainTask.outputPlan(Serializable, PrintStream, boolean, boolean, int, String) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 651 | Medium |
| Format string should use %n rather than \n in org.apache.hadoop.hive.ql.exec.ExplainTask.outputPlan(Task, PrintStream, JSONObject, boolean, boolean, int) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 754 | 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 | 910 | 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 | 145 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow() | STYLE | REC_CATCH_EXCEPTION | 662 | 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 footerBuffer | 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 | 146 | Medium |
| org.apache.hadoop.hive.ql.exec.FetchOperator is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 76 | 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 |
|---|---|---|---|---|
| Dead store to numericBucketNum in org.apache.hadoop.hive.ql.exec.FileSinkOperator.getDynOutPaths(List, String) | STYLE | DLS_DEAD_LOCAL_STORE | 840 | Medium |
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.exec.FileSinkOperator.createBucketFiles(FileSinkOperator$FSPaths) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 478 | High |
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.exec.FileSinkOperator.createBucketForFileIdx(FileSinkOperator$FSPaths, int) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 556 | High |
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.exec.FileSinkOperator.getDynOutPaths(List, String) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 840 | High |
| Nullcheck of FileSinkOperator.dpColNames at line 428 of value previously dereferenced in org.apache.hadoop.hive.ql.exec.FileSinkOperator.dpSetup() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 426 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.FileSinkOperator.createBucketFiles(FileSinkOperator$FSPaths) | STYLE | REC_CATCH_EXCEPTION | 505 | 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.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 | 123 | Medium |
| Dead store to stat rather than field with same name in org.apache.hadoop.hive.ql.exec.FileSinkOperator$FSPaths.commit(FileSystem) | STYLE | DLS_DEAD_LOCAL_STORE_SHADOWS_FIELD | 212 | Medium |
| org.apache.hadoop.hive.ql.exec.FileSinkOperator$FSPaths.getOutWriters() may expose internal representation by returning FileSinkOperator$FSPaths.outWriters | MALICIOUS_CODE | EI_EXPOSE_REP | 171 | 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 | 167 | 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 |
|---|---|---|---|---|
| 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 | 473 | Medium |
| org.apache.hadoop.hive.ql.exec.GroupByOperator.getSize(int, Class, Field) invokes inefficient new String() constructor | PERFORMANCE | DM_STRING_VOID_CTOR | 515 | 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 | 764 | Medium |
| org.apache.hadoop.hive.ql.exec.GroupByOperator.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.GroupByOperator.estimateSize(GenericUDAFEvaluator$AggregationBuffer, List) | STYLE | REC_CATCH_EXCEPTION | 998 | 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 | 197 | Medium |
| 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 |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.MapJoinOperator.processOp(Object, int) | STYLE | REC_CATCH_EXCEPTION | 303 | Medium |
| 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 childrenOpToOpCtxMap | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.MapOperator defines non-transient non-serializable instance field normalizedPaths | BAD_PRACTICE | SE_BAD_FIELD | High | |
| Class org.apache.hadoop.hive.ql.exec.MapOperator defines non-transient non-serializable instance field opCtxMap | 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.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 |
|---|---|---|---|---|
| Potentially dangerous use of non-short-circuit logic in org.apache.hadoop.hive.ql.exec.MoveTask.createTargetPath(Path, FileSystem) | STYLE | NS_DANGEROUS_NON_SHORT_CIRCUIT | 148 | High |
| org.apache.hadoop.hive.ql.exec.MoveTask.execute(DriverContext) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 243 | 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 | 896 | Medium |
| org.apache.hadoop.hive.ql.exec.Operator.getInputObjInspectors() may expose internal representation by returning Operator.inputObjInspectors | MALICIOUS_CODE | EI_EXPOSE_REP | 469 | 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 | 345 | 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 | 473 | 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 110 of value previously dereferenced in org.apache.hadoop.hive.ql.exec.PTFOperator.processOp(Object, int) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 109 | 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 | 552 | Medium |
| org.apache.hadoop.hive.ql.exec.ReduceSinkOperator.getValueIndex() may expose internal representation by returning ReduceSinkOperator.valueIndex | MALICIOUS_CODE | EI_EXPOSE_REP | 544 | 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 | 548 | 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 | 540 | 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 | 212 | 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.tagByte 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.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 | 369 | Medium |
| 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 | 172 | 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 |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.StatsNoJobTask.aggregateStats(ExecutorService) | STYLE | REC_CATCH_EXCEPTION | 294 | 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 | 86 | 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 | 104 | 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 | 98 | 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 | 100 | 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 | 198 | High |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.StatsNoJobTask$StatsCollection.run() | STYLE | REC_CATCH_EXCEPTION | 189 | 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 | 72 | 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 | 118 | Medium |
| org.apache.hadoop.hive.ql.exec.TaskFactory.taskvec isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 74 | 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 LOG | BAD_PRACTICE | SE_BAD_FIELD | Medium | |
| 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 | 1828 | 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 | 2145 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.Utilities.getHashedStatsPrefix(String, int): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 2684 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.Utilities.getHashedStatsPrefix(String, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 2683 | 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 | 3566 | Medium |
| org.apache.hadoop.hive.ql.exec.Utilities.generateFileName(Byte, String) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 2761 | Medium |
| org.apache.hadoop.hive.ql.exec.Utilities.generatePath(Path, String) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 2778 | 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 | 2128 | 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 | 2150 | Medium |
| org.apache.hadoop.hive.ql.exec.Utilities.HADOOP_LOCAL_FS isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 201 | High |
| org.apache.hadoop.hive.ql.exec.Utilities.MAP_PLAN_NAME isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 202 | High |
| org.apache.hadoop.hive.ql.exec.Utilities.MERGE_PLAN_NAME isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 204 | High |
| org.apache.hadoop.hive.ql.exec.Utilities.REDUCE_PLAN_NAME isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 203 | High |
| org.apache.hadoop.hive.ql.exec.Utilities.randGen isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 1089 | High |
| org.apache.hadoop.hive.ql.exec.Utilities.reduceFieldNameList isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 220 | High |
| org.apache.hadoop.hive.ql.exec.Utilities.runtimeSerializationKryo isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 1030 | High |
| org.apache.hadoop.hive.ql.exec.Utilities.suffix isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 2752 | High |
| Possible null pointer dereference of mapPath in org.apache.hadoop.hive.ql.exec.Utilities.clearWork(Configuration) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 252 | 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 | 1097 | High |
| Switch statement found in org.apache.hadoop.hive.ql.exec.Utilities.escapeSqlLike(String) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2998 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.Utilities$5.run() | STYLE | REC_CATCH_EXCEPTION | 2472 | 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 | 125 | 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 | 197 | 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 | 120 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.mr.ExecMapper.memoryMXBean should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | Medium | |
| Write to static field org.apache.hadoop.hive.ql.exec.mr.ExecMapper.memoryMXBean from instance method org.apache.hadoop.hive.ql.exec.mr.ExecMapper.configure(JobConf) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 87 | Medium |
| 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 | 174 | 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 | 604 | Medium |
| org.apache.hadoop.hive.ql.exec.mr.HadoopJobExecHelper.runningJobs isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 163 | 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 | 383 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.mr.MapRedTask.execute(DriverContext) | STYLE | REC_CATCH_EXCEPTION | 293 | 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 | 293 | 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 | 82 | 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 | 305 | 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 | 30 | 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 |
|---|---|---|---|---|
| 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.MapJoinKeyObject stored into non-transient field HashMapWrapper.lastKey | BAD_PRACTICE | SE_BAD_FIELD_STORE | 138 | 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 | 52 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.persistence.LazyFlatRowContainer.toArray() may expose internal representation by returning LazyFlatRowContainer.array | MALICIOUS_CODE | EI_EXPOSE_REP | 377 | 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.LazyFlatRowContainer$ReadOnlySubList.iterator() | STYLE | IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD | 356 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unsigned right shift cast to short/byte in org.apache.hadoop.hive.ql.exec.persistence.MapJoinKeyBytes.hasAnyNulls(int, boolean[]) | STYLE | ICAST_QUESTIONABLE_UNSIGNED_RIGHT_SHIFT | 66 | Medium |
| 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 |
|---|---|---|---|---|
| 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 | 121 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to mergeJoinOp in org.apache.hadoop.hive.ql.exec.tez.DagUtils.createVertex(JobConf, MergeJoinWork, LocalResource, List, FileSystem, Path, Context, TezWork$VertexType) | STYLE | DLS_DEAD_LOCAL_STORE | 476 | Medium |
| Dead store of org.apache.hadoop.hive.ql.io.HiveInputFormat.class in org.apache.hadoop.hive.ql.exec.tez.DagUtils.createVertex(JobConf, MergeJoinWork, LocalResource, List, FileSystem, Path, Context, TezWork$VertexType) | CORRECTNESS | DLS_DEAD_STORE_OF_CLASS_LITERAL | 482 | Medium |
| 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 | 702 | 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 | 52 | Medium |
| org.apache.hadoop.hive.ql.exec.tez.HashTableLoader.describeOi(String, ObjectInspector) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 145 | 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 | 83 | Medium |
| Dead store to mac in org.apache.hadoop.hive.ql.exec.tez.HivePreWarmProcessor.run(Map, Map) | STYLE | DLS_DEAD_LOCAL_STORE | 84 | Medium |
| Dead store to rpool in org.apache.hadoop.hive.ql.exec.tez.HivePreWarmProcessor.run(Map, Map) | STYLE | DLS_DEAD_LOCAL_STORE | 85 | 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 | 110 | 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 | 33 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.tez.RecordProcessor.memoryMXBean should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 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) | STYLE | REC_CATCH_EXCEPTION | 180 | 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.printStatus(Map, String, SessionState$LogHelper) | CORRECTNESS | VA_FORMAT_STRING_EXTRA_ARGUMENTS_PASSED | 226 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Comparison of String objects using == or != in org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolManager.canWorkWithSameSession(TezSessionState, HiveConf) | BAD_PRACTICE | ES_COMPARING_STRINGS_WITH_EQ | 236 | Medium |
| 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 | 53 | 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 |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.exec.tez.tools.KeyValueInputMerger$KVReaderComparator be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 94 | 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 | 191 | 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 |
|---|---|---|---|---|
| Unread public/protected field: org.apache.hadoop.hive.ql.exec.vector.VectorColumnAssignFactory$VectorColumnAssignVectorBase.outBatch | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 88 | 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 |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.getAggregators() may expose internal representation by returning VectorGroupByOperator.aggregators | MALICIOUS_CODE | EI_EXPOSE_REP | 943 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.getKeyExpressions() may expose internal representation by returning VectorGroupByOperator.keyExpressions | MALICIOUS_CODE | EI_EXPOSE_REP | 935 | 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 | 947 | 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 | 939 | 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 | 245 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator.getKeyEval() may expose internal representation by returning VectorReduceSinkOperator.keyEval | MALICIOUS_CODE | EI_EXPOSE_REP | 511 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator.getPartitionEval() may expose internal representation by returning VectorReduceSinkOperator.partitionEval | MALICIOUS_CODE | EI_EXPOSE_REP | 495 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator.getValueEval() may expose internal representation by returning VectorReduceSinkOperator.valueEval | MALICIOUS_CODE | EI_EXPOSE_REP | 503 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator.setKeyEval(VectorExpression[]) may expose internal representation by storing an externally mutable object into VectorReduceSinkOperator.keyEval | MALICIOUS_CODE | EI_EXPOSE_REP2 | 515 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator.setPartitionEval(VectorExpression[]) may expose internal representation by storing an externally mutable object into VectorReduceSinkOperator.partitionEval | MALICIOUS_CODE | EI_EXPOSE_REP2 | 499 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator.setValueEval(VectorExpression[]) may expose internal representation by storing an externally mutable object into VectorReduceSinkOperator.valueEval | MALICIOUS_CODE | EI_EXPOSE_REP2 | 507 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator.initializeOp(Configuration) | STYLE | REC_CATCH_EXCEPTION | 218 | 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 | 139 | Medium |
| 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 | 156 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator.getvExpressions() may expose internal representation by returning VectorSelectOperator.vExpressions | MALICIOUS_CODE | EI_EXPOSE_REP | 152 | 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 | 164 | 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 | 160 | 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 |
|---|---|---|---|---|
| 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 | 801 | 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 | 856 | 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 | 975 | Medium |
| Nullcheck of vectorExpression at line 913 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 | 913 | 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 | 549 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.exec.vector.VectorizedBatchUtil.addRowToBatchFrom(Object, StructObjectInspector, int, int, VectorizedRowBatch, DataOutputBuffer): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 390 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.exec.vector.VectorizedColumnarSerDe.serializeVector(VectorizedRowBatch, ObjectInspector) uses the same code for two branches | STYLE | DB_DUPLICATE_BRANCHES | 136 | Medium |
| 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 | 574 | High |
| 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 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Double assignment of field CuckooSetBytes.prev1 in org.apache.hadoop.hive.ql.exec.vector.expressions.CuckooSetBytes.rehash() | STYLE | SA_FIELD_DOUBLE_ASSIGNMENT | 209 | 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.getInListValues() may expose internal representation by returning DecimalColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP | 152 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.DecimalColumnInList.setInListValues(Decimal128[]) may expose internal representation by storing an externally mutable object into DecimalColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP2 | 156 | Medium |
| 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.getInListValues() may expose internal representation by returning FilterDecimalColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP | 171 | Medium |
| org.apache.hadoop.hive.ql.exec.vector.expressions.FilterDecimalColumnInList.setInListValues(Decimal128[]) may expose internal representation by storing an externally mutable object into FilterDecimalColumnInList.inListValues | MALICIOUS_CODE | EI_EXPOSE_REP2 | 175 | Medium |
| 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 | 487 | 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 | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.VectorUDAFAvgDecimal.scratchDecimal 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.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.VectorUDAFSumDecimal.scratchDecimal 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.VectorUDAFSumDecimal$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.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 | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFMaxDecimal$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.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 | |
| The field org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFMinDecimal$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.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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| 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 | 359 | 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 |
|---|---|---|---|---|
| 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 | 286 | Medium |
| 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 | 44 | 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 | 143 | Medium |
| org.apache.hadoop.hive.ql.hooks.ReadEntity defines equals but not hashCode | BAD_PRACTICE | HE_EQUALS_NO_HASHCODE | 143 | 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 | 156 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.index.HiveIndexResult.add(Text): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 142 | 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 | 75 | 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 | 75 | 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 | 233 | 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 | 91 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to aliasToWork in org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getSplits(JobConf, int) | STYLE | DLS_DEAD_LOCAL_STORE | 455 | Medium |
| Dead store to pathToAliases in org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getSplits(JobConf, int) | STYLE | DLS_DEAD_LOCAL_STORE | 453 | Medium |
| Comparison of String objects using == or != in org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.sampleSplits(List) | BAD_PRACTICE | ES_COMPARING_STRINGS_WITH_EQ | 563 | Medium |
| Nullcheck of HiveInputFormat.mrwork at line 323 of value previously dereferenced in org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getCombineSplits(JobConf, int) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 273 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of o, which is known to be non-null in org.apache.hadoop.hive.ql.io.CombineHiveInputFormat$CombinePathInputFormat.equals(Object) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 248 | High |
| 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 | 46 | 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 | 486 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Nullcheck of table at line 289 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 | 278 | 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 | 1473 | High |
| Inconsistent synchronization of org.apache.hadoop.hive.ql.io.RCFile$Reader.readRowsIndexInBuffer; locked 66% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 1876 | 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 |
|---|---|---|---|---|
| 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 | 69 | 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 | 203 | 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 |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.io.merge.MergeFileTask.execute(DriverContext) | STYLE | REC_CATCH_EXCEPTION | 154 | 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 | 52 | 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 | 103 | 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 | 710 | 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 | 196 | 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 |
|---|---|---|---|---|
| Useless control flow in org.apache.hadoop.hive.ql.io.orc.OrcProto$BinaryStatistics$Builder.maybeForceBuilderInitialization() | STYLE | UCF_USELESS_CONTROL_FLOW | 4526 | 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 |
|---|---|---|---|---|
| Useless control flow in org.apache.hadoop.hive.ql.io.orc.OrcProto$BucketStatistics$Builder.maybeForceBuilderInitialization() | STYLE | UCF_USELESS_CONTROL_FLOW | 2274 | 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 | 8776 | 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 |
|---|---|---|---|---|
| Useless control flow in org.apache.hadoop.hive.ql.io.orc.OrcProto$ColumnEncoding$Builder.maybeForceBuilderInitialization() | STYLE | UCF_USELESS_CONTROL_FLOW | 9074 | 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 | 4984 | 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 |
|---|---|---|---|---|
| Useless control flow in org.apache.hadoop.hive.ql.io.orc.OrcProto$DateStatistics$Builder.maybeForceBuilderInitialization() | STYLE | UCF_USELESS_CONTROL_FLOW | 3547 | 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 |
|---|---|---|---|---|
| Useless control flow in org.apache.hadoop.hive.ql.io.orc.OrcProto$DecimalStatistics$Builder.maybeForceBuilderInitialization() | STYLE | UCF_USELESS_CONTROL_FLOW | 2883 | 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 |
|---|---|---|---|---|
| Useless control flow in org.apache.hadoop.hive.ql.io.orc.OrcProto$DoubleStatistics$Builder.maybeForceBuilderInitialization() | STYLE | UCF_USELESS_CONTROL_FLOW | 1010 | 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 | 14471 | 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 |
|---|---|---|---|---|
| Useless control flow in org.apache.hadoop.hive.ql.io.orc.OrcProto$IntegerStatistics$Builder.maybeForceBuilderInitialization() | STYLE | UCF_USELESS_CONTROL_FLOW | 452 | 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 | 13629 | 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 | 16518 | 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 |
|---|---|---|---|---|
| Useless control flow in org.apache.hadoop.hive.ql.io.orc.OrcProto$PostScript$Builder.maybeForceBuilderInitialization() | STYLE | UCF_USELESS_CONTROL_FLOW | 16873 | 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 | 7395 | 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 | 6750 | 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 | 8084 | 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 |
|---|---|---|---|---|
| Useless control flow in org.apache.hadoop.hive.ql.io.orc.OrcProto$Stream$Builder.maybeForceBuilderInitialization() | STYLE | UCF_USELESS_CONTROL_FLOW | 8438 | 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 |
|---|---|---|---|---|
| Useless control flow in org.apache.hadoop.hive.ql.io.orc.OrcProto$StringStatistics$Builder.maybeForceBuilderInitialization() | STYLE | UCF_USELESS_CONTROL_FLOW | 1648 | 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 | 9406 | 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 | 11703 | 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 |
|---|---|---|---|---|
| Useless control flow in org.apache.hadoop.hive.ql.io.orc.OrcProto$StripeInformation$Builder.maybeForceBuilderInitialization() | STYLE | UCF_USELESS_CONTROL_FLOW | 11969 | 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 | 12955 | 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 |
|---|---|---|---|---|
| Useless control flow in org.apache.hadoop.hive.ql.io.orc.OrcProto$TimestampStatistics$Builder.maybeForceBuilderInitialization() | STYLE | UCF_USELESS_CONTROL_FLOW | 4056 | 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 | 10529 | 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 |
|---|---|---|---|---|
| Useless control flow in org.apache.hadoop.hive.ql.io.orc.OrcProto$Type$Builder.maybeForceBuilderInitialization() | STYLE | UCF_USELESS_CONTROL_FLOW | 11090 | 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 | 12383 | 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 |
|---|---|---|---|---|
| Useless control flow in org.apache.hadoop.hive.ql.io.orc.OrcProto$UserMetadataItem$Builder.maybeForceBuilderInitialization() | STYLE | UCF_USELESS_CONTROL_FLOW | 12612 | 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 | 572 | 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 | 106 | 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 | 483 | 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 | 398 | 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 | 204 | 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 | 192 | 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 | 176 | 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 | 147 | 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 | 171 | 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 | 999 | 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 | 2708 | 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 | 908 | 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 | 1700 | 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 | 1544 | 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 | 1965 | Medium |
| Inconsistent synchronization of org.apache.hadoop.hive.ql.io.orc.WriterImpl.rowsInStripe; locked 63% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 2363 | 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 | 334 | 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 | 428 | 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 165 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 | 163 | 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 | 217 | 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 | 79 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of value, which is known to be non-null in org.apache.hadoop.hive.ql.io.parquet.write.DataWritableWriter.writeData(ArrayWritable, GroupType) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 91 | Medium |
| 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 | 272 | 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 | 225 | 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 | 308 | 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 | 417 | Medium |
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.getSequenceNumber(String, String) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 684 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.getLocks(HiveConf, ZooKeeper, HiveLockObject, String, boolean, boolean): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 608 | 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 | 415 | 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 | 381 | 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 | 684 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.getLocks(HiveConf, ZooKeeper, HiveLockObject, String, boolean, boolean) | STYLE | REC_CATCH_EXCEPTION | 562 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.lockPrimitive(HiveLockObject, HiveLockMode, boolean, boolean, Set) | STYLE | REC_CATCH_EXCEPTION | 417 | Medium |
| org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.getObjectNames(HiveLockObject) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 151 | 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 | 109 | 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 | 123 | 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 | 107 | 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 | 119 | 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 | 1338 | 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 | 710 | 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 | 573 | 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 | 845 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.metadata.Hive.getPartition(Table, Map, boolean, String, boolean) | STYLE | REC_CATCH_EXCEPTION | 1746 | 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 | 561 | 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 | 153 | 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 | 705 | 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 | 895 | 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 | |
| Class org.apache.hadoop.hive.ql.metadata.Table defines non-transient non-serializable instance field storageHandler | 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 | 67 | 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(ParseContext, BucketJoinProcCtx, QBJoinTree, Map, String, List) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 316 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.optimizer.AbstractSMBJoinProc.canConvertJoinToBucketMapJoin(JoinOperator, ParseContext, SortBucketJoinProcCtx) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 504 | 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 | 121 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread field: org.apache.hadoop.hive.ql.optimizer.ColumnPruner.opToParseCtxMap | PERFORMANCE | URF_UNREAD_FIELD | 81 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to resolver in org.apache.hadoop.hive.ql.optimizer.ColumnPrunerProcFactory$ColumnPrunerReduceSinkProc.process(Node, Stack, NodeProcessorCtx, Object[]) | STYLE | DLS_DEAD_LOCAL_STORE | 446 | 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 | 177 | 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 | 183 | 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 | 180 | Medium |
| org.apache.hadoop.hive.ql.optimizer.ConstantPropagateProcFactory.propagatableUdfs isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 91 | 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 | 175 | 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 | 455 | 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 | 512 | 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 | 414 | 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 | 602 | Medium |
| Possible null pointer dereference of task in org.apache.hadoop.hive.ql.optimizer.GenMapRedUtils.internTableDesc(Task, Interner) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 889 | Medium |
| Possible null pointer dereference of task in org.apache.hadoop.hive.ql.optimizer.GenMapRedUtils.setKeyAndValueDescForTaskTree(Task) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 863 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to conf in org.apache.hadoop.hive.ql.optimizer.GlobalLimitOptimizer.transform(ParseContext) | STYLE | DLS_DEAD_LOCAL_STORE | 68 | 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 | 556 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to keyExprMap in org.apache.hadoop.hive.ql.optimizer.MapJoinProcessor.convertMapJoin(HiveConf, LinkedHashMap, JoinOperator, QBJoinTree, int, boolean, boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 324 | High |
| Dead store to outputRS in org.apache.hadoop.hive.ql.optimizer.MapJoinProcessor.convertMapJoin(HiveConf, LinkedHashMap, JoinOperator, QBJoinTree, int, boolean, boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 323 | Medium |
| Dead store to tagOrder in org.apache.hadoop.hive.ql.optimizer.MapJoinProcessor.convertMapJoin(HiveConf, LinkedHashMap, JoinOperator, QBJoinTree, int, boolean, boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 315 | Medium |
| org.apache.hadoop.hive.ql.optimizer.MapJoinProcessor.getMapJoinDesc(HiveConf, LinkedHashMap, JoinOperator, QBJoinTree, int, boolean) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 1167 | 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 | 800 | 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 | 178 | 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 | 263 | 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 |
|---|---|---|---|---|
| Null passed for nonnull parameter of java.util.List.addAll(Collection) in org.apache.hadoop.hive.ql.optimizer.SortedDynPartitionOptimizer$SortedDynamicPartitionProc.getReduceSinkDesc(List, List, List, ArrayList, ArrayList, int, Operator, AcidUtils$Operation) | CORRECTNESS | NP_NULL_PARAM_DEREF | 366 | Medium |
| 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 | 373 | Medium |
| Should org.apache.hadoop.hive.ql.optimizer.SortedDynPartitionOptimizer$SortedDynamicPartitionProc be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 115 | 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 | 665 | 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 | 444 | Medium |
| Load of known null value in org.apache.hadoop.hive.ql.optimizer.correlation.CorrelationUtilities.isNullOperator(Operator) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 444 | 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 | 112 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible null pointer dereference of keyList in org.apache.hadoop.hive.ql.optimizer.index.RewriteCanApplyProcFactory$CheckGroupByProc.process(Node, Stack, NodeProcessorCtx, Object[]) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 166 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to tsOpItr in org.apache.hadoop.hive.ql.optimizer.index.RewriteGBUsingIndex.rewriteOriginalQuery() | STYLE | DLS_DEAD_LOCAL_STORE | 372 | Medium |
| Dead store to topOps in org.apache.hadoop.hive.ql.optimizer.index.RewriteGBUsingIndex.shouldApplyOptimization() | STYLE | DLS_DEAD_LOCAL_STORE | 173 | 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 |
|---|---|---|---|---|
| field must be nonnull but is marked as nullable | STYLE | NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE | 92 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Value of selectivity from previous case is overwritten here due to switch statement fall through | CORRECTNESS | SF_DEAD_STORE_DUE_TO_SWITCH_FALLTHROUGH | 86 | High |
| Switch statement found in org.apache.hadoop.hive.ql.optimizer.optiq.stats.FilterSelectivityEstimator.visitCall(RexCall) where one case falls through to the next case | STYLE | SF_SWITCH_FALLTHROUGH | 79 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Format string should use %n rather than \n in org.apache.hadoop.hive.ql.optimizer.optiq.stats.HiveRelMdRowCount$PKFKRelationInfo.toString() | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 115 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Test for floating point equality in org.apache.hadoop.hive.ql.optimizer.optiq.stats.HiveRelMdUniqueKeys.getUniqueKeys(ProjectRelBase, boolean) | STYLE | FE_FLOATING_POINT_EQUALITY | 102 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible null pointer dereference of b in org.apache.hadoop.hive.ql.optimizer.optiq.translator.ASTBuilder.join(ASTNode, ASTNode, JoinRelType, ASTNode, boolean) on exception path | CORRECTNESS | NP_NULL_ON_SOME_PATH_EXCEPTION | 96 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unchecked/unconfirmed cast from org.eigenbase.rel.SortRel to org.apache.hadoop.hive.ql.optimizer.optiq.reloperators.HiveSortRel in org.apache.hadoop.hive.ql.optimizer.optiq.translator.ASTConverter.convert(SortRel) | STYLE | BC_UNCONFIRMED_CAST | 171 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible null pointer dereference of originalProjRel in org.apache.hadoop.hive.ql.optimizer.optiq.translator.DerivedTableInjector.renameTopLevelSelectInResultSchema(RelNode, List) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 133 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| instanceof will always return true for all nonnull values in org.apache.hadoop.hive.ql.optimizer.optiq.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 |
|---|---|---|---|---|
| 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.optiq.translator.TypeConverter.convert(PrimitiveTypeInfo, RelDataTypeFactory) | STYLE | BC_UNCONFIRMED_CAST | 174 | 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.optiq.translator.TypeConverter.convert(PrimitiveTypeInfo, RelDataTypeFactory) | STYLE | BC_UNCONFIRMED_CAST | 169 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| f must be nonnull but is marked as nullable | STYLE | NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE | 238 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| f must be nonnull but is marked as nullable | STYLE | NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE | 245 | 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 | 145 | 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 | 513 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.optimizer.physical.CrossProductCheck$MapJoinCheck be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 249 | 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 | 204 | 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 | 1171 | 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 | 1136 | 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 | 517 | 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 | 537 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread field: org.apache.hadoop.hive.ql.optimizer.physical.Vectorizer$ReduceWorkVectorizationNodeProcessor.keyColCount | PERFORMANCE | URF_UNREAD_FIELD | 739 | Medium |
| Unread field: org.apache.hadoop.hive.ql.optimizer.physical.Vectorizer$ReduceWorkVectorizationNodeProcessor.valueColCount | PERFORMANCE | URF_UNREAD_FIELD | 740 | 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 | 354 | 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 | 452 | 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 |
|---|---|---|---|---|
| Dead store to topTables in org.apache.hadoop.hive.ql.optimizer.physical.index.IndexWhereTaskDispatcher.createOperatorRules(ParseContext) | STYLE | DLS_DEAD_LOCAL_STORE | 118 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of StringBuilder.toString(), which is known to be non-null in org.apache.hadoop.hive.ql.optimizer.ppr.PartitionPruner.prune(Table, ExprNodeDesc, HiveConf, String, Map) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 166 | Medium |
| Suspicious comparison of Boolean references in org.apache.hadoop.hive.ql.optimizer.ppr.PartitionPruner.removeTruePredciates(ExprNodeDesc) | BAD_PRACTICE | RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN | 233 | 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 | 782 | 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 | 1122 | 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 | 268 | High |
| Found reliance on default encoding in org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.unescapeSQLString(String): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 452 | High |
| org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.HIVE_COLUMN_ORDER_ASC isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 101 | High |
| org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.HIVE_COLUMN_ORDER_DESC isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 102 | High |
| org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.escapeSQLString(String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 538 | Medium |
| Call to method of static java.text.DateFormat in org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.normalizeDateCol(Object, String) | MT_CORRECTNESS | STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE | 1276 | 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 | 128 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer$tableSpec doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 701 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.parse.ColumnAccessAnalyzer.analyzeColumnAccess() makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 44 | 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 | 134 | Medium |
| org.apache.hadoop.hive.ql.parse.ColumnStatsSemanticAnalyzer.getColumnTypes(List) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 286 | Medium |
| org.apache.hadoop.hive.ql.parse.ColumnStatsSemanticAnalyzer.getPartKeyValuePairsFromAST(ASTNode) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 113 | 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 | 183 | 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 | 149 | 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 | 3295 | Medium |
| Dead store to hiveConf in org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyzeAltertableSkewedby(String[], ASTNode) | STYLE | DLS_DEAD_LOCAL_STORE | 3151 | Medium |
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyzeAlterTableClusterSort(ASTNode, String, HashMap) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 1647 | 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 | 2538 | 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 | 1621 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyzeAlterTableClusterSort(ASTNode, String, HashMap) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1631 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyzeCreateIndex(ASTNode) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1077 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread field: org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer$TablePartition.partSpec | PERFORMANCE | URF_UNREAD_FIELD | 218 | Medium |
| Unread field: org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer$TablePartition.tableName | PERFORMANCE | URF_UNREAD_FIELD | 224 | 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 | 7414 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mByteLengthLiteral() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7653 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mCharSetLiteral() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7331 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mCharSetName() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8256 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mEQUAL() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6451 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mExponent() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6996 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mIdentifier() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7920 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mKW_NOT() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 548 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mNOTEQUAL() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6528 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mNumber() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7732 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mQuotedIdentifier() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8180 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mSmallintLiteral() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7485 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mStringLiteral() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7124 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mTinyintLiteral() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7556 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveLexer.mTokens() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8462 | 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 | 10906 | 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 | 12751 | 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 | 28300 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterDatabaseSuffixProperties() | STYLE | DLS_DEAD_LOCAL_STORE | 9195 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterDatabaseSuffixSetOwner() | STYLE | DLS_DEAD_LOCAL_STORE | 9307 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterIndexStatementSuffix() | STYLE | DLS_DEAD_LOCAL_STORE | 8644 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterProtectMode() | STYLE | DLS_DEAD_LOCAL_STORE | 13742 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementChangeColPosition() | STYLE | DLS_DEAD_LOCAL_STORE | 10146 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementPartitionKeyType() | STYLE | DLS_DEAD_LOCAL_STORE | 8301 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixAddCol() | STYLE | DLS_DEAD_LOCAL_STORE | 9580 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixAddPartitions(boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 10314 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixArchive() | STYLE | DLS_DEAD_LOCAL_STORE | 10684 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixBucketNum() | STYLE | DLS_DEAD_LOCAL_STORE | 14114 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixCompact() | STYLE | DLS_DEAD_LOCAL_STORE | 14205 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixDropPartitions(boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 11097 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixExchangePartition() | STYLE | DLS_DEAD_LOCAL_STORE | 13161 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixFileFormat() | STYLE | DLS_DEAD_LOCAL_STORE | 12051 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixLocation() | STYLE | DLS_DEAD_LOCAL_STORE | 12819 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixMergeFiles() | STYLE | DLS_DEAD_LOCAL_STORE | 13625 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixProperties() | STYLE | DLS_DEAD_LOCAL_STORE | 11363 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixProtectMode() | STYLE | DLS_DEAD_LOCAL_STORE | 13248 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixRename(boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 9408 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixRenameCol() | STYLE | DLS_DEAD_LOCAL_STORE | 9802 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixRenamePart() | STYLE | DLS_DEAD_LOCAL_STORE | 13347 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixSerdeProperties() | STYLE | DLS_DEAD_LOCAL_STORE | 11771 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixStatsPart() | STYLE | DLS_DEAD_LOCAL_STORE | 13533 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixTouch() | STYLE | DLS_DEAD_LOCAL_STORE | 10561 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixUnArchive() | STYLE | DLS_DEAD_LOCAL_STORE | 10807 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixUpdateStatsCol() | STYLE | DLS_DEAD_LOCAL_STORE | 10006 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterTableStatementSuffix() | STYLE | DLS_DEAD_LOCAL_STORE | 7831 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterTblPartitionStatementSuffixSkewedLocation() | STYLE | DLS_DEAD_LOCAL_STORE | 12385 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterViewSuffixProperties() | STYLE | DLS_DEAD_LOCAL_STORE | 11580 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.analyzeStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 18393 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.autoRebuild() | STYLE | DLS_DEAD_LOCAL_STORE | 5978 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameColonType() | STYLE | DLS_DEAD_LOCAL_STORE | 36964 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameComment() | STYLE | DLS_DEAD_LOCAL_STORE | 36517 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameOrder() | STYLE | DLS_DEAD_LOCAL_STORE | 36246 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameType() | STYLE | DLS_DEAD_LOCAL_STORE | 36804 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnRefOrder() | STYLE | DLS_DEAD_LOCAL_STORE | 36657 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.createDatabaseStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 3678 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.createFunctionStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 29230 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.createIndexStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 5728 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.createMacroStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 29830 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.createRoleStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 22323 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.createViewStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 30296 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.cteStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 39143 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.databaseComment() | STYLE | DLS_DEAD_LOCAL_STORE | 4430 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dbLocation() | STYLE | DLS_DEAD_LOCAL_STORE | 3797 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dbProperties() | STYLE | DLS_DEAD_LOCAL_STORE | 3896 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.deleteStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 42373 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.descPartTypeExpr() | STYLE | DLS_DEAD_LOCAL_STORE | 15962 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.destination() | STYLE | DLS_DEAD_LOCAL_STORE | 42054 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dropDatabaseStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 4325 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dropFunctionStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 29428 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dropIndexStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 6519 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dropMacroStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 29974 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dropRoleStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 22423 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dropTableStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 6684 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dropViewStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 30582 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.exportStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 1930 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.fileFormat() | STYLE | DLS_DEAD_LOCAL_STORE | 14685 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.grantOptionFor() | STYLE | DLS_DEAD_LOCAL_STORE | 28205 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.grantPrivileges() | STYLE | DLS_DEAD_LOCAL_STORE | 22593 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.grantRole() | STYLE | DLS_DEAD_LOCAL_STORE | 23231 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.ifExists() | STYLE | DLS_DEAD_LOCAL_STORE | 2891 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.ifNotExists() | STYLE | DLS_DEAD_LOCAL_STORE | 3131 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.ignoreProtection() | STYLE | DLS_DEAD_LOCAL_STORE | 3402 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.importStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 2138 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.indexComment() | STYLE | DLS_DEAD_LOCAL_STORE | 5881 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.indexProperties() | STYLE | DLS_DEAD_LOCAL_STORE | 6237 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.indexTblName() | STYLE | DLS_DEAD_LOCAL_STORE | 6076 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.insertClause() | STYLE | DLS_DEAD_LOCAL_STORE | 41798 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.keyProperty() | STYLE | DLS_DEAD_LOCAL_STORE | 33588 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.keyValueProperty() | STYLE | DLS_DEAD_LOCAL_STORE | 33502 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.limitClause() | STYLE | DLS_DEAD_LOCAL_STORE | 42244 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.listType() | STYLE | DLS_DEAD_LOCAL_STORE | 38249 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.loadStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 1787 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.lockDatabase() | STYLE | DLS_DEAD_LOCAL_STORE | 21872 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.lockStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 21707 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.mapType() | STYLE | DLS_DEAD_LOCAL_STORE | 38480 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.metastoreCheck() | STYLE | DLS_DEAD_LOCAL_STORE | 28612 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.orReplace() | STYLE | DLS_DEAD_LOCAL_STORE | 3314 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.partTypeExpr() | STYLE | DLS_DEAD_LOCAL_STORE | 15840 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.partitionLocation() | STYLE | DLS_DEAD_LOCAL_STORE | 10903 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.privObject() | STYLE | DLS_DEAD_LOCAL_STORE | 25804 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.privilegeIncludeColObject() | STYLE | DLS_DEAD_LOCAL_STORE | 24673 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.privilegeObject() | STYLE | DLS_DEAD_LOCAL_STORE | 24807 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.privlegeDef() | STYLE | DLS_DEAD_LOCAL_STORE | 27098 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.queryStatementExpression(boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 38800 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.recordReader() | STYLE | DLS_DEAD_LOCAL_STORE | 32221 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.recordWriter() | STYLE | DLS_DEAD_LOCAL_STORE | 32370 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.regularBody(boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 39738 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.resource() | STYLE | DLS_DEAD_LOCAL_STORE | 28860 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.restrictOrCascade() | STYLE | DLS_DEAD_LOCAL_STORE | 2997 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.revokePrivileges() | STYLE | DLS_DEAD_LOCAL_STORE | 22778 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.revokeRole() | STYLE | DLS_DEAD_LOCAL_STORE | 23680 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.rowFormatDelimited() | STYLE | DLS_DEAD_LOCAL_STORE | 32765 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.rowFormatSerde() | STYLE | DLS_DEAD_LOCAL_STORE | 32519 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.selectStatementWithCTE() | STYLE | DLS_DEAD_LOCAL_STORE | 40715 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.setColumnsClause() | STYLE | DLS_DEAD_LOCAL_STORE | 42587 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.setOperator() | STYLE | DLS_DEAD_LOCAL_STORE | 38678 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.setRole() | STYLE | DLS_DEAD_LOCAL_STORE | 24085 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.showCurrentRole() | STYLE | DLS_DEAD_LOCAL_STORE | 23987 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.showGrants() | STYLE | DLS_DEAD_LOCAL_STORE | 24243 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.showRoleGrants() | STYLE | DLS_DEAD_LOCAL_STORE | 23802 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.showRolePrincipals() | STYLE | DLS_DEAD_LOCAL_STORE | 24355 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.showRoles() | STYLE | DLS_DEAD_LOCAL_STORE | 23892 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.singleFromStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 39546 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.singleSelectStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 40492 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.skewedColumnValuePair() | STYLE | DLS_DEAD_LOCAL_STORE | 35817 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.skewedLocationMap() | STYLE | DLS_DEAD_LOCAL_STORE | 12719 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.skewedLocations() | STYLE | DLS_DEAD_LOCAL_STORE | 12484 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.storedAsDirs() | STYLE | DLS_DEAD_LOCAL_STORE | 3226 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.structType() | STYLE | DLS_DEAD_LOCAL_STORE | 38355 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.switchDatabaseStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 4122 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableBuckets() | STYLE | DLS_DEAD_LOCAL_STORE | 31605 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableComment() | STYLE | DLS_DEAD_LOCAL_STORE | 31300 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableLocation() | STYLE | DLS_DEAD_LOCAL_STORE | 34881 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tablePartition() | STYLE | DLS_DEAD_LOCAL_STORE | 31413 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tablePartitionPrefix() | STYLE | DLS_DEAD_LOCAL_STORE | 11945 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableProperties() | STYLE | DLS_DEAD_LOCAL_STORE | 33139 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormatCollItemsIdentifier() | STYLE | DLS_DEAD_LOCAL_STORE | 33856 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormatFieldIdentifier() | STYLE | DLS_DEAD_LOCAL_STORE | 33737 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormatLinesIdentifier() | STYLE | DLS_DEAD_LOCAL_STORE | 34073 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormatMapKeysIdentifier() | STYLE | DLS_DEAD_LOCAL_STORE | 33968 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowNullFormat() | STYLE | DLS_DEAD_LOCAL_STORE | 34178 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableSkewed() | STYLE | DLS_DEAD_LOCAL_STORE | 31808 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.truncateTableStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 5316 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.unionType() | STYLE | DLS_DEAD_LOCAL_STORE | 38588 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.unlockDatabase() | STYLE | DLS_DEAD_LOCAL_STORE | 22223 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.unlockStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 22069 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.updateStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 42723 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.viewPartition() | STYLE | DLS_DEAD_LOCAL_STORE | 30453 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.withAdminOption() | STYLE | DLS_DEAD_LOCAL_STORE | 28395 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.withGrantOption() | STYLE | DLS_DEAD_LOCAL_STORE | 28110 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterProtectModeMode() | STYLE | DLS_DEAD_LOCAL_STORE | 13909 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 7102 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixClusterbySortby() | STYLE | DLS_DEAD_LOCAL_STORE | 12277 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixSkewedby() | STYLE | DLS_DEAD_LOCAL_STORE | 12955 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.colTypeList() | STYLE | DLS_DEAD_LOCAL_STORE | 37171 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameColonTypeList() | STYLE | DLS_DEAD_LOCAL_STORE | 35142 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameCommentList() | STYLE | DLS_DEAD_LOCAL_STORE | 36389 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameList() | STYLE | DLS_DEAD_LOCAL_STORE | 35276 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameOrderList() | STYLE | DLS_DEAD_LOCAL_STORE | 35468 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameTypeList() | STYLE | DLS_DEAD_LOCAL_STORE | 35008 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.dbPropertiesList() | STYLE | DLS_DEAD_LOCAL_STORE | 4023 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.explainStatement() | STYLE | DLS_DEAD_LOCAL_STORE | 1237 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.fromStatement(boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 39331 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.indexPropertiesList() | STYLE | DLS_DEAD_LOCAL_STORE | 6364 | Medium |
| Dead store to KW_IDXPROPERTIES149 in org.apache.hadoop.hive.ql.parse.HiveParser.indexPropertiesPrefixed() | STYLE | DLS_DEAD_LOCAL_STORE | 6151 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.principalName() | STYLE | DLS_DEAD_LOCAL_STORE | 27919 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.principalSpecification() | STYLE | DLS_DEAD_LOCAL_STORE | 27782 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.privilegeList() | STYLE | DLS_DEAD_LOCAL_STORE | 26961 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.resourceList() | STYLE | DLS_DEAD_LOCAL_STORE | 28759 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.resourceType() | STYLE | DLS_DEAD_LOCAL_STORE | 28978 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.rowFormat() | STYLE | DLS_DEAD_LOCAL_STORE | 32055 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.selectStatement(boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 40023 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.skewedColumnValuePairList() | STYLE | DLS_DEAD_LOCAL_STORE | 35710 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.skewedColumnValues() | STYLE | DLS_DEAD_LOCAL_STORE | 35944 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.skewedLocationsList() | STYLE | DLS_DEAD_LOCAL_STORE | 12611 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tablePropertiesList() | STYLE | DLS_DEAD_LOCAL_STORE | 33309 | Medium |
| Dead store to KW_TBLPROPERTIES675 in org.apache.hadoop.hive.ql.parse.HiveParser.tablePropertiesPrefixed() | STYLE | DLS_DEAD_LOCAL_STORE | 33053 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormat() | STYLE | DLS_DEAD_LOCAL_STORE | 32934 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser.withClause() | STYLE | DLS_DEAD_LOCAL_STORE | 39022 | Medium |
| org.apache.hadoop.hive.ql.parse.HiveParser.getTokenNames() may expose internal representation by returning HiveParser.tokenNames | MALICIOUS_CODE | EI_EXPOSE_REP | 684 | 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 | 39331 | High |
| Redundant nullcheck of s, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.regularBody(boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 39711 | High |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.selectStatement(boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 40023 | 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 | 28300 | 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 | 9195 | 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 | 9307 | 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 | 8644 | 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 | 13742 | 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 | 13909 | 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 | 7102 | 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 | 10146 | 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 | 8301 | 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 | 9580 | 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 | 10314 | 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 | 10684 | 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 | 14114 | 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 | 12277 | 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 | 14205 | 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 | 11097 | 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 | 13161 | 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 | 12051 | 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 | 12819 | 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 | 13625 | 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 | 11286 | 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 | 13248 | 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 | 9408 | 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 | 9802 | 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 | 13347 | 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 | 11828 | 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 | 12955 | 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 | 13533 | 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 | 10561 | 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 | 10807 | 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 | 10006 | 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 | 7831 | 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 | 12385 | 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 | 11503 | 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 | 18393 | 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 | 5978 | 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 | 37171 | 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 | 36964 | 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 | 35142 | 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 | 36517 | 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 | 36389 | 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 | 35276 | 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 | 36246 | 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 | 35468 | 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 | 36804 | 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 | 35008 | 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 | 36657 | 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 | 3678 | 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 | 29230 | 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 | 5725 | 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 | 5728 | 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 | 29830 | 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 | 22323 | 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 | 30296 | 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 | 39143 | 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 | 4430 | 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 | 3797 | 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 | 3896 | 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 | 4023 | 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 | 42373 | 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 | 15962 | 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 | 42113 | 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 | 4325 | 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 | 29428 | 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 | 6519 | 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 | 29974 | 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 | 22423 | 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 | 6684 | 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 | 30582 | 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 | 1237 | 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 | 1930 | 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 | 14685 | 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 | 39290 | 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 | 39291 | 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 | 28205 | 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 | 22592 | 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 | 22593 | 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 | 23231 | 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 | 2891 | 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 | 3131 | 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 | 3402 | 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 | 2138 | 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 | 5881 | 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 | 6237 | 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 | 6364 | 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 | 6076 | 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 | 41798 | 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 | 33588 | 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 | 33502 | 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 | 42244 | 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 | 38249 | 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 | 1787 | 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 | 21872 | 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 | 21707 | 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 | 38480 | Medium |
| Redundant nullcheck of right, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.mapType() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 38479 | 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 | 28612 | 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 | 3314 | 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 | 15840 | 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 | 10903 | 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 | 27919 | 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 | 27782 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.privObject() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 25465 | 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 | 24673 | 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 | 26961 | 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 | 24807 | 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 | 27098 | Medium |
| Redundant nullcheck of queryStatementExpressionBody805, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.queryStatementExpression(boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 38788 | 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 | 38800 | 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 | 32221 | 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 | 32370 | 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 | 39696 | 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 | 39738 | 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 | 28859 | 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 | 28860 | 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 | 28759 | 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 | 28978 | 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 | 2997 | 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 | 22778 | 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 | 23680 | 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 | 32055 | 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 | 32765 | 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 | 32519 | Medium |
| Redundant nullcheck of b, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.selectStatement(boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 39982 | Medium |
| Redundant nullcheck of u, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.selectStatement(boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 39983 | 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 | 40715 | Medium |
| Redundant nullcheck of selectStatement833, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.selectStatementWithCTE() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 40703 | 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 | 42587 | 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 | 38678 | 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 | 24085 | 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 | 23987 | 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 | 24243 | 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 | 23802 | 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 | 24355 | 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 | 23892 | 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 | 39546 | Medium |
| Redundant nullcheck of retval, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser.singleSelectStatement() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 40492 | 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 | 35816 | 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 | 35817 | 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 | 35710 | 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 | 35944 | 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 | 12718 | 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 | 12719 | 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 | 12484 | 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 | 12611 | 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 | 3226 | 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 | 38355 | 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 | 4122 | 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 | 31603 | 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 | 31605 | 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 | 31300 | 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 | 34881 | 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 | 31413 | 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 | 11945 | 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 | 33139 | 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 | 33309 | 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 | 32934 | 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 | 33856 | 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 | 33737 | 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 | 34073 | 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 | 33968 | 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 | 34178 | 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 | 31808 | 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 | 31806 | 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 | 31807 | 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 | 5316 | 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 | 38588 | 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 | 22223 | 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 | 22069 | 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 | 42723 | 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 | 30453 | 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 | 28395 | 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 | 39022 | 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 | 28110 | 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 | 10150 | Medium |
| Nullcheck of name at line 9169 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterDatabaseSuffixProperties() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 9169 | High |
| Nullcheck of dbName at line 9281 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterDatabaseSuffixSetOwner() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 9281 | High |
| Nullcheck of indexName at line 8566 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterIndexStatementSuffix() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 8566 | High |
| Nullcheck of afterCol at line 10135 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementChangeColPosition() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 10135 | High |
| Nullcheck of exchangename at line 13150 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixExchangePartition() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 13150 | High |
| Nullcheck of newName at line 9726 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixRenameCol() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 9726 | High |
| Nullcheck of oldName at line 9719 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixRenameCol() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 9719 | High |
| Nullcheck of colName at line 13482 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixStatsPart() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 13482 | High |
| Nullcheck of colName at line 9955 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixUpdateStatsCol() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 9955 | High |
| Nullcheck of parttype at line 18056 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.analyzeStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 18056 | High |
| Nullcheck of colName at line 36913 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameColonType() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 36913 | High |
| Nullcheck of colName at line 36477 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameComment() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 36477 | High |
| Nullcheck of colName at line 36757 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameType() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 36757 | High |
| Nullcheck of name at line 3577 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.createDatabaseStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 3577 | High |
| Nullcheck of indexName at line 5460 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.createIndexStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 5460 | High |
| Nullcheck of tab at line 5475 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.createIndexStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 5475 | High |
| Nullcheck of roleName at line 22312 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.createRoleStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 22312 | High |
| Nullcheck of name at line 30158 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.createViewStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 30158 | High |
| Nullcheck of indexName at line 6496 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.dropIndexStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 6496 | High |
| Nullcheck of tab at line 6507 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.dropIndexStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 6507 | High |
| Nullcheck of roleName at line 22412 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.dropRoleStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 22412 | High |
| Nullcheck of tab at line 1901 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.exportStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 1901 | High |
| Nullcheck of genericSpec at line 14674 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.fileFormat() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 14674 | High |
| Nullcheck of indexTbl at line 6065 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.indexTblName() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 6065 | High |
| Nullcheck of tab at line 1770 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.loadStatement() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 1770 | High |
| Nullcheck of left at line 38453 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.mapType() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 38453 | High |
| Nullcheck of roleName at line 24074 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.setRole() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 24074 | High |
| Nullcheck of roleName at line 24344 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.HiveParser.showRolePrincipals() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 24344 | High |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterDatabaseStatementSuffix() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9076 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterIndexStatementSuffix() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8581 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterProtectMode() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 13719 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterProtectModeMode() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 13940 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6933 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementChangeColPosition() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10107 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixAddCol() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9530 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixAddPartitions(boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10243 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixAddPartitionsElement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10441 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixArchive() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10647 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixClusterbySortby() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 12168 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixDropPartitions(boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10993 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixProperties() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11323 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixRenameCol() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9692 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixSerdeProperties() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11729 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixSkewedby() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 12936 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixStatsPart() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 13455 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixTouch() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10524 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixUnArchive() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10770 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterStatementSuffixUpdateStatsCol() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9928 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterTableStatementSuffix() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7791 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterTblPartitionStatementSuffix() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8014 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterViewStatementSuffix() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8416 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.alterViewSuffixProperties() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11540 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.analyzeStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 18071 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.body() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 40868 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.colTypeList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 37130 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameColonType() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 36928 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameColonTypeList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 35101 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameComment() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 36481 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameCommentList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 36348 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 35235 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameOrder() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 36202 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameOrderList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 35427 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameType() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 36768 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnNameTypeList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 34967 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.columnRefOrder() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 36613 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.createDatabaseStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3522 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.createFunctionStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 29149 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.createIndexStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5502 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.createMacroStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 29575 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.createTableStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4569 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.createViewStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 30097 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.dbPropertiesList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3982 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.ddlStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2297 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.deleteStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 42340 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.descPartTypeExpr() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 15929 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.descStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 17084 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.descTabTypeExpr() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 15176 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.destination() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 41994 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.dropDatabaseStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4232 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.dropFunctionStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 29360 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.dropIndexStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6466 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.dropMacroStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 29937 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.dropTableStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6620 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.dropViewStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 30542 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.execStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1506 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.explainStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1189 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.fileFormat() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 14577 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.fromStatement(boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 39255 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.grantPrivileges() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 22521 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.grantRole() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 23110 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.importStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2026 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.indexPropertiesList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6323 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.insertClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 41765 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.loadStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1694 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.lockDatabase() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 21823 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.lockStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 21667 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.metastoreCheck() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 28486 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.partTypeExpr() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 15807 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.primitiveType() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 37957 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.principalName() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 27896 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.principalSpecification() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 27741 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.privObject() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 25427 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.privObjectCols() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 26416 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.privilegeIncludeColObject() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 24657 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.privilegeList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 26920 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.privilegeType() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 27269 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.privlegeDef() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 27056 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.queryStatementExpression(boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 38750 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.queryStatementExpressionBody(boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 38881 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.recordReader() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 32164 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.recordWriter() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 32313 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.regularBody(boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 39685 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.resourceList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 28718 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.resourceType() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 28962 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.restrictOrCascade() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2981 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.revokePrivileges() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 22700 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.revokeRole() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 23346 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.rowFormat() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 31959 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.rowFormatDelimited() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 32631 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.rowFormatSerde() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 32476 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.selectStatement(boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 39947 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.selectStatementWithCTE() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 40669 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.setColumnsClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 42546 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.showFunctionIdentifier() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 30890 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.showGrants() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 24177 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.showStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 19013 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.showStmtIdentifier() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 31200 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.singleFromStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 39499 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.singleSelectStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 40216 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.skewedColumnValuePairList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 35669 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.skewedColumnValues() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 35903 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.skewedLocationsList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 12570 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.skewedValueElement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 35574 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.skewedValueLocationElement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 36108 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.statement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1022 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.tabTypeExpr() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 14781 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.tableBuckets() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 31541 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.tableFileFormat() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 34584 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.tablePartitionPrefix() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11912 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.tablePropertiesList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 33268 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormat() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 32915 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.tableRowFormatFieldIdentifier() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 33697 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.tableSkewed() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 31765 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.truncateTableStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5271 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.type() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 37302 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.unlockDatabase() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 22181 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.unlockStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 22036 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.updateStatement() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 42690 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser.withClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 38981 | 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 | 43151 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser$DFA193 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 43301 | 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 | 1487 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.partitionedTableFunction() | STYLE | DLS_DEAD_LOCAL_STORE | 6296 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.splitSample() | STYLE | DLS_DEAD_LOCAL_STORE | 4152 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.subQuerySource() | STYLE | DLS_DEAD_LOCAL_STORE | 5244 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableAlias() | STYLE | DLS_DEAD_LOCAL_STORE | 3540 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableBucketSample() | STYLE | DLS_DEAD_LOCAL_STORE | 3919 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableName() | STYLE | DLS_DEAD_LOCAL_STORE | 4746 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableOrColumn() | STYLE | DLS_DEAD_LOCAL_STORE | 1115 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableSource() | STYLE | DLS_DEAD_LOCAL_STORE | 4564 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.uniqueJoinToken() | STYLE | DLS_DEAD_LOCAL_STORE | 2280 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.valuesClause() | STYLE | DLS_DEAD_LOCAL_STORE | 6855 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.viewName() | STYLE | DLS_DEAD_LOCAL_STORE | 5104 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.whereClause() | STYLE | DLS_DEAD_LOCAL_STORE | 6415 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.partitioningSpec() | STYLE | DLS_DEAD_LOCAL_STORE | 5468 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableAllColumns() | STYLE | DLS_DEAD_LOCAL_STORE | 974 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableNameColList() | STYLE | DLS_DEAD_LOCAL_STORE | 7355 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.uniqueJoinExpr() | STYLE | DLS_DEAD_LOCAL_STORE | 2188 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.virtualTableSource() | STYLE | DLS_DEAD_LOCAL_STORE | 6956 | Medium |
| Possible null pointer dereference of null in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.joinSource() | CORRECTNESS | NP_NULL_ON_SOME_PATH | 1880 | 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 | 1384 | 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 | 1246 | 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 | 1487 | 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 | 6296 | 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 | 5468 | 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 | 4237 | 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 | 5244 | 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 | 3540 | 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 | 974 | 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 | 3884 | 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 | 3919 | 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 | 4746 | 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 | 7355 | 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 | 1115 | 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 | 4564 | 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 | 4563 | 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 | 2161 | 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 | 2188 | 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 | 2280 | 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 | 6618 | 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 | 6855 | 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 | 6754 | 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 | 5104 | 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 | 6956 | 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 | 6415 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.aliasList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1341 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.expressionList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1203 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.fromSource() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3626 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.joinSource() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1824 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.joinToken() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2605 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.lateralView() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3203 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.partitionTableFunctionSource() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5996 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.partitionedTableFunction() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6149 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.partitioningSpec() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5381 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.splitSample() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4114 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.subQuerySource() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5213 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableAllColumns() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 956 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableBucketSample() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3831 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableName() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4664 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableNameColList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7049 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableSample() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4365 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableSource() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4467 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.uniqueJoinExpr() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2138 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.uniqueJoinSource() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2023 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.valueRowConstructor() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6571 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.valuesTableConstructor() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6711 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.viewName() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4830 | 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 | 7730 | 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 | 7928 | 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 | 8249 | 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 | 8401 | 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 | 8645 | 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 | 9283 | 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 | 9434 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.charSetStringLiteral() | STYLE | DLS_DEAD_LOCAL_STORE | 6079 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.dateLiteral() | STYLE | DLS_DEAD_LOCAL_STORE | 6174 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.havingClause() | STYLE | DLS_DEAD_LOCAL_STORE | 1460 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.partitionVal() | STYLE | DLS_DEAD_LOCAL_STORE | 10156 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceUnarySuffixExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 7023 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.stringLiteralSequence() | STYLE | DLS_DEAD_LOCAL_STORE | 5971 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.tableOrPartition() | STYLE | DLS_DEAD_LOCAL_STORE | 9868 | High |
| Dead store to LPAREN138 in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.atomExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 6464 | Medium |
| Dead store to RPAREN140 in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.atomExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 6473 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.atomExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 6336 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.caseExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 5419 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.castExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 5214 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.clusterByClause() | STYLE | DLS_DEAD_LOCAL_STORE | 2212 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.distributeByClause() | STYLE | DLS_DEAD_LOCAL_STORE | 3312 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.dropPartitionVal() | STYLE | DLS_DEAD_LOCAL_STORE | 10427 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.expressions() | STYLE | DLS_DEAD_LOCAL_STORE | 9187 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.functionIdentifier() | STYLE | DLS_DEAD_LOCAL_STORE | 11634 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.groupByClause() | STYLE | DLS_DEAD_LOCAL_STORE | 967 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.groupingSetExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 1162 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.identifier() | STYLE | DLS_DEAD_LOCAL_STORE | 11259 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.nullCondition() | STYLE | DLS_DEAD_LOCAL_STORE | 6768 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.partitionByClause() | STYLE | DLS_DEAD_LOCAL_STORE | 2762 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.sortByClause() | STYLE | DLS_DEAD_LOCAL_STORE | 3862 | Medium |
| Dead store to LPAREN184 in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.subQueryExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 8213 | Medium |
| Dead store to RPAREN186 in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.subQueryExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 8222 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.whenExpression() | STYLE | DLS_DEAD_LOCAL_STORE | 5622 | 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 | 6336 | 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 | 5419 | 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 | 5214 | 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 | 6079 | 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 | 2212 | 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 | 6174 | 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 | 3312 | 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 | 10313 | 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 | 10427 | 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 | 9187 | 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 | 11639 | 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 | 11640 | 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 | 11634 | 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 | 967 | 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 | 1162 | 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 | 1460 | Medium |
| Redundant nullcheck of nonReserved251, which is known to be non-null in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.identifier() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 11264 | 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 | 11259 | 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 | 6768 | 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 | 1664 | 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 | 2762 | 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 | 10025 | 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 | 10156 | 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 | 7023 | 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 | 3862 | 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 | 5971 | 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 | 9868 | 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 | 5622 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.booleanValue() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9741 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.caseExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5325 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.clusterByClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2070 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.constant() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5721 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.descFuncNames() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10897 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.distributeByClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3170 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.dropPartitionSpec() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10266 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.expressions() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9140 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.function() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4252 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.functionIdentifier() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11602 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.functionName() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5014 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.groupByClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 779 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.groupingSetExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1205 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.identifier() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11222 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.nullCondition() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6750 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.orderByClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1621 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.partitionByClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2620 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.partitionSpec() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9978 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.partitionVal() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 10117 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceAmpersandExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7657 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceAndExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9478 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceBitwiseOrExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7816 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceEqualExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8328 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceEqualOperator() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 8031 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceNotExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9319 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceOrExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9637 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedencePlusExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 7497 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceUnaryPrefixExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6891 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.precedenceUnarySuffixExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 6992 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.principalIdentifier() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11947 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.sortByClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3720 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.tableOrPartition() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 9833 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.whenExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 5528 | 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 | 13179 | 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 | 13312 | 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 | 13432 | 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 | 14969 | 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 | 15111 | 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 | 15227 | 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 | 15342 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to LA43_770 in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser$DFA43.specialStateTransition(int, IntStream) | STYLE | DLS_DEAD_LOCAL_STORE | 16763 | Medium |
| Dead store to LA43_772 in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser$DFA43.specialStateTransition(int, IntStream) | STYLE | DLS_DEAD_LOCAL_STORE | 16780 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to LA44_107 in org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser$DFA44.specialStateTransition(int, IntStream) | STYLE | DLS_DEAD_LOCAL_STORE | 15570 | 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 | 13059 | 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 | 2327 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintItem() | STYLE | DLS_DEAD_LOCAL_STORE | 2578 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectItem() | STYLE | DLS_DEAD_LOCAL_STORE | 3167 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_defn() | STYLE | DLS_DEAD_LOCAL_STORE | 4521 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_frame_boundary() | STYLE | DLS_DEAD_LOCAL_STORE | 5674 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_range_expression() | STYLE | DLS_DEAD_LOCAL_STORE | 5075 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_value_expression() | STYLE | DLS_DEAD_LOCAL_STORE | 5284 | High |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintArgs() | STYLE | DLS_DEAD_LOCAL_STORE | 2882 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintList() | STYLE | DLS_DEAD_LOCAL_STORE | 2453 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintName() | STYLE | DLS_DEAD_LOCAL_STORE | 2700 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectClause() | STYLE | DLS_DEAD_LOCAL_STORE | 1226 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectExpressionList() | STYLE | DLS_DEAD_LOCAL_STORE | 4276 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectList() | STYLE | DLS_DEAD_LOCAL_STORE | 1364 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_clause() | STYLE | DLS_DEAD_LOCAL_STORE | 4416 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_frame_start_boundary() | STYLE | DLS_DEAD_LOCAL_STORE | 5415 | Medium |
| Dead store to stream_retval in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.window_specification() | STYLE | DLS_DEAD_LOCAL_STORE | 4753 | 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 | 2882 | 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 | 2327 | 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 | 2578 | 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 | 2453 | 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 | 2700 | 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 | 1226 | 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 | 4276 | 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 | 3167 | 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 | 1364 | 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 | 4416 | 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 | 4521 | 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 | 5717 | 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 | 5415 | 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 | 5074 | 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 | 5011 | 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 | 5073 | 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 | 5012 | 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 | 4753 | 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 | 5283 | 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 | 5220 | 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 | 5282 | 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 | 5221 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintArgs() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2841 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintItem() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2537 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2412 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.hintName() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 2684 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 767 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectExpression() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4141 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectExpressionList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 4235 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectItem() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3059 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectList() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1323 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectTrfmClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1509 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.trfmClause() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 3308 | 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 | 4375 | 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 | 4862 | 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 | 5642 | 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 | 5395 | 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 | 4988 | 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 | 4651 | 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 | 5197 | 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 | 7047 | 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 | 6747 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser$DFA19 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 7263 | 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 | 6211 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser$DFA22 be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 8039 | 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 | 6427 | 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 | 472 | 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 | 122 | 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 | 275 | 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 | 441 | 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.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 | 243 | Medium |
| Unread field: org.apache.hadoop.hive.ql.parse.QBSubQuery$ConjunctAnalyzer.parentQueryNewAlias | PERFORMANCE | URF_UNREAD_FIELD | 247 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to outputColPos in org.apache.hadoop.hive.ql.parse.RowResolver.getCombinedRR(RowResolver, RowResolver) | STYLE | DLS_DEAD_LOCAL_STORE | 419 | 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 | 749 | Medium |
| Dead store to listBucketColValuesMapping in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeCreateTable(ASTNode, QB) | STYLE | DLS_DEAD_LOCAL_STORE | 10535 | High |
| Dead store to tw in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.isValidGroupBySelectList(QB, String) | STYLE | DLS_DEAD_LOCAL_STORE | 11589 | High |
| Dead store to aggParameters in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.checkExpressionsForGroupingSet(List, List, Map, RowResolver) | STYLE | DLS_DEAD_LOCAL_STORE | 5350 | Medium |
| Dead store to inputRR in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.getSortOrders(String, QB, Table, Operator) | STYLE | DLS_DEAD_LOCAL_STORE | 6803 | Medium |
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeCreateTable(ASTNode, QB) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 10617 | High |
| Boxing/unboxing to parse a primitive org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.processTable(QB, ASTNode) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 757 | High |
| org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.doPhase1(ASTNode, QB, SemanticAnalyzer$Phase1Ctx) invokes inefficient new Integer(String) constructor; use Integer.valueOf(String) instead | PERFORMANCE | DM_NUMBER_CTOR | 1372 | Medium |
| Nullcheck of sampleExprs at line 9301 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genTablePlan(String, QB) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 9301 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genValuesTempTable(ASTNode) | STYLE | REC_CATCH_EXCEPTION | 871 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.doPhase1(ASTNode, QB, SemanticAnalyzer$Phase1Ctx) where one case falls through to the next case | STYLE | SF_SWITCH_FALLTHROUGH | 1196 | 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 | 6146 | 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 | 499 | 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 | 1770 | 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 | 11489 | 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 | 11348 | Medium |
| Switch statement found in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.processWindowSpec(ASTNode) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 11428 | 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 | 2434 | 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 | 11537 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to windowingRexNodes in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer$OptiqBasedPlanner.genSelectLogicalPlan(QB, RelNode) | STYLE | DLS_DEAD_LOCAL_STORE | 13688 | High |
| Dead store to gbInputRR in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer$OptiqBasedPlanner.genGBRelNode(List, List, RelNode) | STYLE | DLS_DEAD_LOCAL_STORE | 13021 | Medium |
| Dead store to i in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer$OptiqBasedPlanner.genGBRelNode(List, List, RelNode) | STYLE | DLS_DEAD_LOCAL_STORE | 13040 | Medium |
| Dead store to qbp in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer$OptiqBasedPlanner.genSelectForWindowing(QB, RelNode) | STYLE | DLS_DEAD_LOCAL_STORE | 13597 | Medium |
| org.apache.hadoop.hive.ql.parse.SemanticAnalyzer$OptiqBasedPlanner.getBound(WindowingSpec$BoundarySpec, RexNodeConverter) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 13492 | Medium |
| Redundant nullcheck of selectRel, which is known to be non-null in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer$OptiqBasedPlanner.genLogicalPlan(QB) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 13939 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.parse.SemanticAnalyzer$OptiqBasedPlanner.getHiveAggInfo(ASTNode, int, RowResolver) | STYLE | REC_CATCH_EXCEPTION | 13162 | 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 | 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 |
| 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 | 295 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Nullcheck of procCtx at line 121 of value previously dereferenced in org.apache.hadoop.hive.ql.parse.TypeCheckProcFactory.processGByExpr(Node, Object) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 118 | 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 | 887 | 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 | 891 | 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 | 893 | 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 | 889 | 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 | 932 | 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 | 216 | 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 | 292 | 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 | 555 | 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 | 622 | 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 | 563 | 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 | 652 | 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 |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.AbstractOperatorDesc is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 21 | 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 | 158 | 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 | 181 | 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 | 127 | High |
| 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 | 41 | High |
| 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 | 115 | High |
| Dead store to pc in org.apache.hadoop.hive.ql.plan.ExprNodeConstantDesc.getWritableObjectInspector() | STYLE | DLS_DEAD_LOCAL_STORE | 76 | 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 | High |
| 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 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.hadoop.hive.ql.plan.FetchWork.toString() invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 277 | 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 | 130 | 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 | 143 | 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 |
| The class name org.apache.hadoop.hive.ql.plan.FilterDesc$sampleDesc doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 44 | 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 | 45 | 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 | 268 | Medium |
| org.apache.hadoop.hive.ql.plan.HashTableSinkDesc.getFilterMap() may expose internal representation by returning HashTableSinkDesc.filterMap | MALICIOUS_CODE | EI_EXPOSE_REP | 298 | Medium |
| org.apache.hadoop.hive.ql.plan.HashTableSinkDesc.getTagOrder() may expose internal representation by returning HashTableSinkDesc.tagOrder | MALICIOUS_CODE | EI_EXPOSE_REP | 278 | 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 | 273 | 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 | 303 | 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 | 283 | 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 |
| 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 | 115 | High |
| org.apache.hadoop.hive.ql.plan.JoinDesc.getConds() may expose internal representation by returning JoinDesc.conds | MALICIOUS_CODE | EI_EXPOSE_REP | 326 | Medium |
| org.apache.hadoop.hive.ql.plan.JoinDesc.getFilterMap() may expose internal representation by returning JoinDesc.filterMap | MALICIOUS_CODE | EI_EXPOSE_REP | 464 | Medium |
| org.apache.hadoop.hive.ql.plan.JoinDesc.getNullSafes() may expose internal representation by returning JoinDesc.nullsafes | MALICIOUS_CODE | EI_EXPOSE_REP | 444 | Medium |
| org.apache.hadoop.hive.ql.plan.JoinDesc.getTagOrder() may expose internal representation by returning JoinDesc.tagOrder | MALICIOUS_CODE | EI_EXPOSE_REP | 339 | Medium |
| new org.apache.hadoop.hive.ql.plan.JoinDesc(Map, List, boolean, JoinCondDesc[], Map) may expose internal representation by storing an externally mutable object into JoinDesc.conds | MALICIOUS_CODE | EI_EXPOSE_REP2 | 99 | 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 | 330 | 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 | 468 | 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 | 448 | 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 | 349 | 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.reversedExprs 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 |
|---|---|---|---|---|
| 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 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 | 223 | Medium |
| Load of known null value in org.apache.hadoop.hive.ql.plan.PartitionDesc.setOutputFileFormatClass(Class) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 165 | 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 | 984 | 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 | 129 | 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 | 69 | 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 |
|---|---|---|---|---|
| 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 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 | 155 | 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 | 111 | 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 | 46 | 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 | 265 | Medium |
| Should org.apache.hadoop.hive.ql.plan.TezWork$Dependency be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 265 | 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 | 34 | 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 | 34 | 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 | 34 | 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 | 34 | 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 | 34 | 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 | 34 | 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 | 34 | 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 | 138 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to joins in org.apache.hadoop.hive.ql.ppd.OpProcFactory$JoinPPD.applyFilterTransitivity(JoinOperator, OpWalkerInfo) | STYLE | DLS_DEAD_LOCAL_STORE | 583 | 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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| 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 | 439 | 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 | 106 | 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 | 443 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible null pointer dereference of SessionState.preReloadableAuxJars in org.apache.hadoop.hive.ql.session.SessionState.reloadAuxJars() | CORRECTNESS | NP_NULL_ON_SOME_PATH | 909 | 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 | 1016 | 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 | 196 | 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 | 247 | Medium |
| Exception is caught when Exception is not thrown in org.apache.hadoop.hive.ql.stats.jdbc.JDBCStatsPublisher.closeConnection() | STYLE | REC_CATCH_EXCEPTION | 249 | 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 | 131 | Medium |
| org.apache.hadoop.hive.ql.stats.jdbc.JDBCStatsUtils.getInsert(String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 162 | Medium |
| org.apache.hadoop.hive.ql.stats.jdbc.JDBCStatsUtils.getUpdate(String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 143 | 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 | 422 | 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 | 303 | 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 | 617 | 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 | 562 | 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 | 93 | 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 | 65 | 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 | 126 | 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 | 321 | 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 | 439 | 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 | 451 | 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 |
|---|---|---|---|---|
| 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 | 80 | 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 |
|---|---|---|---|---|
| Possible null pointer dereference of timezone in org.apache.hadoop.hive.ql.udf.generic.GenericUDFFromUtcTimestamp.evaluate(GenericUDF$DeferredObject[]) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 93 | 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 |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.hadoop.hive.ql.udf.generic.GenericUDFInFile.load(InputStream): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 127 | High |
| org.apache.hadoop.hive.ql.udf.generic.GenericUDFInFile.evaluate(GenericUDF$DeferredObject[]) may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 112 | 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 | 36 | 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 | 36 | 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 | 368 | 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 | 233 | 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 | 198 | Medium |
| org.apache.hadoop.hive.ql.udf.generic.NumDistinctValueEstimator.printNumDistinctValueEstimator() invokes inefficient new String() constructor | PERFORMANCE | DM_STRING_VOID_CTOR | 142 | Medium |
| org.apache.hadoop.hive.ql.udf.generic.NumDistinctValueEstimator.serialize() invokes inefficient new String() constructor | PERFORMANCE | DM_STRING_VOID_CTOR | 162 | 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 | 330 | Medium |
| Check for oddness that won't work for negative numbers in org.apache.hadoop.hive.ql.udf.generic.NumDistinctValueEstimator.addToEstimator(long) | STYLE | IM_BAD_CHECK_FOR_ODD | 263 | Medium |
| Check for oddness that won't work for negative numbers in org.apache.hadoop.hive.ql.udf.generic.NumDistinctValueEstimator.addToEstimatorPCSA(long) | STYLE | IM_BAD_CHECK_FOR_ODD | 281 | Medium |
| org.apache.hadoop.hive.ql.udf.generic.NumDistinctValueEstimator.deserialize(String, int) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 204 | Medium |
| org.apache.hadoop.hive.ql.udf.generic.NumDistinctValueEstimator.printNumDistinctValueEstimator() concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 151 | Medium |
| org.apache.hadoop.hive.ql.udf.generic.NumDistinctValueEstimator.serialize() concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 164 | Medium |
| Uninitialized read of numBitVectors in new org.apache.hadoop.hive.ql.udf.generic.NumDistinctValueEstimator(int) | CORRECTNESS | UR_UNINIT_READ | 46 | High |
| Uninitialized read of numBitVectors in new org.apache.hadoop.hive.ql.udf.generic.NumDistinctValueEstimator(String, int) | CORRECTNESS | UR_UNINIT_READ | 46 | High |
| 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 | 204 | High |
| Test for floating point equality in org.apache.hadoop.hive.ql.udf.generic.NumericHistogram.trim() | STYLE | FE_FLOATING_POINT_EQUALITY | 237 | 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 | 45 | 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 | 365 | 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 | 1194 | 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 |