Format for column metadata in .osh schema files
When you specify column metadata in a .osh schema file, you can use a predefined set of data types and options in the column definitions.
The following table shows the data types and attributes
that you can specify for column metadata in a .osh schema
file. Any OSH data types and attributes that are not in the table
are not supported for the File connector. You can specify the nullability
attribute for all of the OSH data types, for example, SALES_DATE:
not nullable date. By default, columns are not nullable.
OSH data type | InfoSphere DataStage data type | Other attributes |
---|---|---|
|
TinyInt | |
|
SmallInt | |
|
Integer | |
|
BigInt | |
sfloat | Float | |
dfloat | Double | |
string |
|
|
ustring |
|
|
decimal | Decimal |
|
date | Date | |
time | Time | [microseconds] |
timestamp | TimeStamp | [microseconds] |
raw |
|
|