Skip to content

Commit 7dbc185

Browse files
Merge pull request #296746 from Clare-Zheng82/0321-add_date_and_time_type
[New feature] Add Date and Time type
2 parents 28ffe34 + 283bc34 commit 7dbc185

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/data-factory/copy-activity-schema-and-type-mapping.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: jianleishen
66
ms.subservice: data-movement
77
ms.custom: synapse
88
ms.topic: conceptual
9-
ms.date: 09/25/2024
9+
ms.date: 03/21/2025
1010
ms.author: jianleishen
1111
---
1212
# Schema and data type mapping in copy activity
@@ -289,7 +289,7 @@ The following data type conversions are supported between the interim types from
289289
| String | ✓ | ✓ | ✓ | ✓ | | ✓ | ✓ | ✓ | ✓ |
290290
| TimeSpan | | | | | | | | ✓ | ✓ |
291291

292-
(1) Date/Time includes DateTime and DateTimeOffset.
292+
(1) Date/Time includes DateTime, DateTimeOffset, Date and Time.
293293

294294
(2) Float-point includes Single and Double.
295295

@@ -308,9 +308,11 @@ The following properties are supported in copy activity for data type conversion
308308
| *Under `typeConversionSettings`* | | |
309309
| allowDataTruncation | Allow data truncation when converting source data to sink with different type during copy, for example, from decimal to integer, from DatetimeOffset to Datetime. <br>Default value is true. | No |
310310
| treatBooleanAsNumber | Treat booleans as numbers, for example, true as 1.<br>Default value is false. | No |
311+
| dateFormat | Format string when converting between dates and strings, e.g. `yyyy-MM-dd`. Refer to [Custom Date and Time Format Strings](/dotnet/standard/base-types/custom-date-and-time-format-strings) for detailed information. | No |
311312
| dateTimeFormat | Format string when converting between dates without time zone offset and strings, for example, `yyyy-MM-dd HH:mm:ss.fff`. Refer to [Custom Date and Time Format Strings](/dotnet/standard/base-types/custom-date-and-time-format-strings) for detailed information. | No |
312313
| dateTimeOffsetFormat | Format string when converting between dates with time zone offset and strings, for example, `yyyy-MM-dd HH:mm:ss.fff zzz`. Refer to [Custom Date and Time Format Strings](/dotnet/standard/base-types/custom-date-and-time-format-strings) for detailed information. | No |
313314
| timeSpanFormat | Format string when converting between time periods and strings, for example, `dd\.hh\:mm`. Refer to [Custom TimeSpan Format Strings](/dotnet/standard/base-types/custom-timespan-format-strings) for detailed information. | No |
315+
| timeFormat | Format string when converting between time and strings, e.g. `HH:mm:ss.fff`. Refer to [Custom Date and Time Format Strings](/dotnet/standard/base-types/custom-date-and-time-format-strings) for detailed information. | No |
314316
| culture | Culture information to be used when convert types, for example, `en-us` or `fr-fr`. | No |
315317

316318
**Example:**

0 commit comments

Comments
 (0)