You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Guardrail: if this is a column we intended to normalize but its array type is
954
959
// not StringArray, the type guards above fell through and #527 is silently
955
-
// reopened. Surface that as an assertion failure in debug builds rather than
956
-
// leaving it invisible at runtime.
957
-
Debug.Assert(
958
-
i!=_tableTypeIndex&&i!=_remarksIndex,
959
-
$"Expected TABLE_TYPE/REMARKS column at index {i} to be a StringArray but got {batch.Column(i).GetType().Name}; normalization (issue #527) was skipped.");
960
+
// reopened. The metadata schema layout is server-controlled and could change
961
+
// without a code change here, so signal in BOTH builds: a Debug.Assert that
962
+
// fails loudly in debug, and a Trace.TraceWarning (compiled in under the TRACE
963
+
// constant) that remains observable in Release. The warning is emitted at most
0 commit comments