We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f5293f commit e850a8dCopy full SHA for e850a8d
matlab/src/matlab/+arrow/+tabular/Table.m
@@ -161,7 +161,7 @@ function displayScalarObject(obj)
161
if ~isempty(badIndex)
162
badIndex = badIndex + 1;
163
expectedSchema = arrow.tabular.internal.display.getSchemaString(firstSchema);
164
- unexpectedSchema = arrow.tabular.internal.display.getSchemaString(batches{badIndex}.Schema);
+ inconsistentSchema = arrow.tabular.internal.display.getSchemaString(batches{inconsistentSchemaIndex }.Schema);
165
msg = "Schema of RecordBatch %d is\n\n\t%s\n\nExpected RecordBatch Schema to be\n\n\t%s";
166
msg = compose(msg, badIndex, unexpectedSchema, expectedSchema);
167
error("arrow:Table:FromRecordBatches:InconsistentSchema", msg);
0 commit comments