Extract discriminator column