在 SSIS 中更改 Data Lake Store Source 的输出类型
Change output type of Data Lake Store Source in SSIS
使用 Azure Data Lake Store 源时是否可以更改列的输出类型?
目前它是 DT_WSTR(100)
,但在我的源文件中包含比 100 个字符更大的字段。所以现在值被截断了,这不是我想要的行为。
您需要在高级编辑器中修改列属性。为此,您可以按照以下步骤操作:
- 右键单击 Azure Data Lake Store 源并选择
Show Advanced Editor
。
- 单击
Input and Output Properties
选项卡。
- 展开
Azure Data Lake Store Source Output
,然后展开External Columns
和Output Columns
。
- 在
External Columns
和 Output Columns
下,单击要修改的列并更改 Length
属性。
Ok
退出高级编辑器。
使用 Azure Data Lake Store 源时是否可以更改列的输出类型?
目前它是 DT_WSTR(100)
,但在我的源文件中包含比 100 个字符更大的字段。所以现在值被截断了,这不是我想要的行为。
您需要在高级编辑器中修改列属性。为此,您可以按照以下步骤操作:
- 右键单击 Azure Data Lake Store 源并选择
Show Advanced Editor
。 - 单击
Input and Output Properties
选项卡。 - 展开
Azure Data Lake Store Source Output
,然后展开External Columns
和Output Columns
。 - 在
External Columns
和Output Columns
下,单击要修改的列并更改Length
属性。 Ok
退出高级编辑器。