이 페이지에서는 Cloud Data Fusion Studio의 Wrangler 작업공간에서 데이터를 준비할 때 열 값을 조인하고 열 이름을 바꾸는 방법을 설명합니다.
두 개의 열 조인
Wrangler 작업공간에서는 데이터 유형이 같거나 다른 두 개의 열을 조인할 수 있습니다. JOIN 작업의 출력은 두 열의 조인된 필드가 포함된 새 열에 저장됩니다. Wrangler는 불리언 데이터 유형 및 바이트 데이터 유형의 열을 다른 열과 조인하는 것을 지원하지 않습니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-10(UTC)"],[[["\u003cp\u003eThis page describes how to join two columns and swap two column names within the Wrangler workspace in Cloud Data Fusion.\u003c/p\u003e\n"],["\u003cp\u003eJoining columns combines the values of two selected columns into a new column, excluding boolean and bytes data types.\u003c/p\u003e\n"],["\u003cp\u003eTo join columns, you select the two columns, choose the "Join two columns" option, specify the order, delimiter, and new column name, then apply the \u003ccode\u003emerge\u003c/code\u003e directive.\u003c/p\u003e\n"],["\u003cp\u003eSwapping column names exchanges the names of two selected columns without altering their values, using the \u003ccode\u003eswap\u003c/code\u003e directive.\u003c/p\u003e\n"],["\u003cp\u003eTo swap columns you select the two columns, then choose the "Swap two column names" option.\u003c/p\u003e\n"]]],[],null,["# Join and swap two columns\n\nThis page explains how to join column values and swap column names when you\nprepare data in the Wrangler workspace of the Cloud Data Fusion Studio.\n\nJoin two columns\n----------------\n\nThe Wrangler workspace supports joining two columns of the same or different\ndata types. The `JOIN` operation's output is stored in a new column containing\nthe joined fields from both columns. Wrangler doesn't support joining columns of\nthe boolean and bytes data types with other columns.\n\nTo join two columns, follow these steps:\n\n1. [Go to Wrangler workspace in Cloud Data Fusion](/data-fusion/docs/concepts/wrangler-overview#navigate-to-wrangler).\n2. On the **Data** tab, select the checkbox by two column names.\n3. Click the arrow_drop_down expander arrow by one of the column names.\n4. Select **Join two columns** , and select an option---for example, **Custom\n selection**.\n5. Choose an order, delimiter, and new column name for the `JOIN` operation's output.\n6. Click **Join**.\n\nWrangler joins the columns and adds the `merge` directive to the recipe. When\nyou run the data pipeline, the transformation is applied to all values in the\ncolumn.\n\nSwap two column names\n---------------------\n\nThe Wrangler workspace supports swapping (or interchanging) two column names.\nOnly the column names interchange, the values in the column rows don't change.\n\nTo swap two column names, follow these steps:\n\n1. [Go to Wrangler workspace in Cloud Data Fusion](/data-fusion/docs/concepts/wrangler-overview#navigate-to-wrangler).\n2. On the **Data** tab, select the checkbox by two column names.\n3. Click the arrow_drop_down expander arrow by one of the column names.\n4. Select **Swap two column names**\n\nWrangler swaps the column names and adds the `swap` directive to the recipe.\n\nWhat's next\n-----------\n\n- Learn more about [Wrangler directives](/data-fusion/docs/concepts/wrangler-overview#apply_directives)."]]