lib/metadata/schema-parser.js
function pruneDenseTableColumns(tableInfo) {
  let i = tableInfo.columns.length;
  while (i--) {
    const c = tableInfo.columns[i];
    if (!c.isStatic && c.type.code === types.dataTypes.custom && c.type.info === 'empty') {
      // remove "value blob" regular column
      tableInfo.columns.splice(i, 1);
      delete tableInfo.columnsByName[c.name];
      continue;
    }
    c.isStatic = false;
  }
}
function pruneDenseTableColumns(tableInfo) {
  let i = tableInfo.columns.length;
  while (i--) {
    const c = tableInfo.columns[i];
    if (!c.isStatic && c.type.code === types.dataTypes.custom && c.type.info === 'empty') {
      // remove "value blob" regular column
      tableInfo.columns.splice(i, 1);
      delete tableInfo.columnsByName[c.name];
      continue;
    }
    c.isStatic = false;
  }
}
function pruneDenseTableColumns ( tableInfo ) { let i = tableInfo . columns . length ; while ( i -- ) { const c = tableInfo . columns [ i ] ; if ( ! c . isStatic && c . type . code === types . dataTypes . custom && c . type . info === 'empty' ) { // remove "value blob" regular column tableInfo . columns . splice ( i , 1 ) ; delete tableInfo . columnsByName [ c . name ] ; continue ; } c . isStatic = false ; } }
Upon migration from thrift to CQL, we internally create a surrogate column "value" of type custom.
This column shouldn't be exposed to the user but is currently returned by C*.
@param {module:metadata~TableMetadata} tableInfo
Upon migration from thrift to CQL we internally create a surrogate column value of type custom . This column shouldn t be exposed to the user but is currently returned by C * .