In mongodb, for example, the following mapping:
should create the following index (or something similar):
This should also happen with the deafult column (DTYPE column).We should skip this step if a user has defined an index for the that column.