patch for isCompatibleInsertColumnNotNullOnly