message: added assertion and changed to use CopyAuxInfo
diff: @@ -565,7 +565,10 @@ Value Vector::GetValue(const Vector &v_p, idx_t index_p) {
  auto value = GetValueInternal(v_p, index_p);
  // set the alias of the type to the correct value, if there is a type alias
  if (v_p.GetType().HasAlias()) {
  - value.type().SetAlias(v_p.GetType().GetAlias());
  + value.type().CopyAuxInfo(v_p.GetType());
  + }
  + if (v_p.GetType().id() != LogicalTypeId::AGGREGATE_STATE && value.type().id() != LogicalTypeId::AGGREGATE_STATE) {
  + D_ASSERT(v_p.GetType() == value.type());
  }
  return value;
  }
  