jstests/core/columnstore_validindex.js
// Cannot create another index type with "columnstoreProjection" projection.
Cannot create another index type with "columnstoreProjection" projection.
Cannot create another index type with " columnstoreProjection " projection .
function assertCannotUseColumnstoreProjection(indexKeyPattern) {
    assert.commandFailedWithCode(
        IndexCatalogHelpers.createSingleIndex(
            coll, indexKeyPattern, {name: kIndexName, columnstoreProjection: {a: 1, b: 1}}),
        ErrorCodes.InvalidIndexSpecificationOption);
}
function assertCannotUseColumnstoreProjection ( indexKeyPattern ) { assert . commandFailedWithCode ( IndexCatalogHelpers . createSingleIndex ( coll , indexKeyPattern , { name : kIndexName , columnstoreProjection : { a : 1 , b : 1 } } ) , ErrorCodes . InvalidIndexSpecificationOption ) ; }
Cannot create another index type with "columnstoreProjection" projection.
Cannot create another index type with " columnstoreProjection " projection .