src/main/java/org/apache/datasketches/hive/cpc/UnionSketchUDAF.java [182:192]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private void initializeState(final UnionState state, final Object[] parameters) {
      int lgK = DEFAULT_LG_K;
      if (this.lgKInspector_ != null) {
        lgK = PrimitiveObjectInspectorUtils.getInt(parameters[1], this.lgKInspector_);
      }
      long seed = DEFAULT_UPDATE_SEED;
      if (this.seedInspector_ != null) {
        seed = PrimitiveObjectInspectorUtils.getLong(parameters[2], this.seedInspector_);
      }
      state.init(lgK, seed);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/datasketches/hive/cpc/DataToSketchUDAF.java [194:204]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private void initializeState(final State state, final Object[] parameters) {
      int lgK = DEFAULT_LG_K;
      if (this.lgKInspector_ != null) {
        lgK = PrimitiveObjectInspectorUtils.getInt(parameters[1], this.lgKInspector_);
      }
      long seed = DEFAULT_UPDATE_SEED;
      if (this.seedInspector_ != null) {
        seed = PrimitiveObjectInspectorUtils.getLong(parameters[2], this.seedInspector_);
      }
      state.init(lgK, seed);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



