Schema Map
- Last Updated: July 25, 2025
- 1 minute read
- DataDirect Connectors
- ODBC
- Apache Cassandra 8.0
- Documentation
Attribute
SchemaMap (SMP)
Purpose
Specifies the name and location of the configuration file used to create the relational map of native data. The driver looks for this file when connecting to the server. If the file does not exist, the driver creates one.
Valid Values
string
where:
- string
- is the absolute path and filename of the configuration file, including the .config extension. For example, if SchemaMap is set to a value of C:\Users\Default\AppData\Local\Progress\DataDirect\Cassandra_Schema\MyServer.config, the driver either creates or looks for the configuration file MyServer.config in the directory C:\Users\Default\AppData\Local\Progress\DataDirect\Cassandra_Schema\.
Notes
- When connecting to a server, the driver looks for the SchemaMap configuration file. If the configuration file does not exist, the driver creates a SchemaMap configuration file using the name and location you have provided. If you do not provide a name and location for a SchemaMap configuration file, the driver creates it using default values.
- The driver uses the path specified in this connection option to store additional internal files.
- You can refresh the internal files related to an existing relational view of your data by using the SQL extension Refresh Map. Refresh Map queries the Cassandra catalog tables and updates your internal files accordingly.
Default
The default is determined by the environment. The driver attempts to create the files in a subdirectory of the first available directory in the following order:
- Windows
- DD_HOME environment variable
- LOCALAPPDATA environment variable
- APPDATA environment variable
- User’s home directory
available_location\Progress\DataDirect\Cassandra_Schema\user_name.config - UNIX/Linux
- DD_HOME environment variable
- User’s home directory
available_location/progress/datadirect/Cassandra_schema/user_name.config