> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# SAS から PySpark への移行

> SAS 分析ワークフローを最新の PySpark ベースのインフラストラクチャに移行する

export const PromptBlock = ({children, type, agent, intent, playbookId}) => {
  var utm = 'utm_source=docs&utm_medium=use-case-gallery&utm_campaign=prompt-block';
  var tag = 'docs-use-case-gallery';
  var agentParams = (agent ? '&agent=' + agent : '') + (intent ? '&intent=' + intent : '') + (playbookId ? '&playbookId=' + playbookId : '');
  var label = type === 'schedule' ? 'Schedule in Devin' : type === 'playbook' ? 'Create Playbook' : type === 'knowledge' ? 'Add to Knowledge' : agent === 'advanced' ? 'Try in Devin' : agent === 'dana' ? 'Try in Dana' : agent === 'ada' ? 'Try in Ask Devin' : 'Try in Devin';
  var buildUrl = function (text) {
    var encoded = encodeURIComponent(text);
    if (type === 'schedule') return 'https://app.devin.ai/settings/schedules/create?' + utm + agentParams + '&prompt=' + encoded;
    if (type === 'playbook') return 'https://app.devin.ai/settings/playbooks/create?' + utm + '&body=' + encoded;
    if (type === 'knowledge') return 'https://app.devin.ai/knowledge?' + utm + '&body=' + encoded;
    if (agent === 'ada') return 'https://app.devin.ai/search?' + utm + '&noSubmit=true&prompt=' + encoded;
    return 'https://app.devin.ai/?tags=' + tag + '&' + utm + agentParams + '&prompt=' + encoded;
  };
  const ref = React.useRef(null);
  const [href, setHref] = React.useState('#');
  React.useEffect(() => {
    if (!ref.current) return;
    var codeEl = ref.current.querySelector('pre code');
    if (codeEl) {
      var text = codeEl.textContent.trim();
      if (text) setHref(buildUrl(text));
    }
    var header = ref.current.querySelector('[data-component-part="code-block-header"]');
    if (header && !header.querySelector('.prompt-block-devin-link')) {
      var link = document.createElement('a');
      link.href = href;
      link.target = '_blank';
      link.rel = 'noopener noreferrer';
      link.className = 'prompt-block-devin-link';
      link.style.cssText = 'display:inline-flex;align-items:center;gap:6px;text-decoration:none;color:#fff;font-size:11px;font-weight:500;padding:4px 10px;border-radius:6px;white-space:nowrap;background:#317CFF;transition:background 0.2s;margin-left:8px;';
      link.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg> ' + label;
      link.onmouseenter = function () {
        link.style.background = '#2968D9';
      };
      link.onmouseleave = function () {
        link.style.background = '#317CFF';
      };
      header.appendChild(link);
    }
    var existingLink = ref.current.querySelector('.prompt-block-devin-link');
    if (existingLink && href !== '#') existingLink.href = href;
  });
  return <div className="prompt-block" ref={ref}>{children}</div>;
};

<div id="overview">
  ## 概要
</div>

Devin は、レガシーな SAS 分析ワークフローをモダンな PySpark へ移行するのに役立ちます。これにより、クラウド規模でのデータ処理を活用し、ライセンスコストを削減し、最新のデータプラットフォームと統合できるようになります。オープンソース技術である PySpark は、ビッグデータ分析に必要なスケーラビリティと柔軟性を提供しつつ、SAS と同等のエンタープライズ対応を維持します。また、BigQuery や Snowflake などのクラウドネイティブなベンダー環境への移行にも Devin を活用できます。

<div id="case-study">
  ## ケーススタディ
</div>

<Card title="Nubank 移行事例" icon="building" href="https://devin.ai/customers/nubank">
  Nubank がどのように Devin を活用してレガシーETLシステムを移行し、開発速度とコード品質の大幅な向上を実現したかをご覧ください。
</Card>

<div id="why-migrate-from-sas-to-pyspark">
  ## なぜ SAS から PySpark に移行するのか？
</div>

<div id="business-benefits">
  ### ビジネス上のメリット
</div>

* **コスト削減**: 高額な SAS ライセンス費用を排除
* **クラウドのスケーラビリティ**: 弾力的なクラウドリソースでより大規模なデータセットを処理
* **モダンなエコシステム**: モダンなデータツール (Databricks、AWS EMR、Azure Synapse) と連携
* **オープンソース**: コミュニティのイノベーションを活用し、ベンダーロックインを回避

<div id="technical-advantages">
  ### 技術的な利点
</div>

* **分散処理**: クラスター全体にまたがる大規模データセットを処理可能
* **リアルタイム分析**: バッチ処理とストリーミング処理の両方をサポート
* **柔軟なデプロイ**: オンプレミス、クラウド、ハイブリッド環境で稼働可能
* **豊富なエコシステム**: Python の充実したデータサイエンス向けライブラリを利用可能

<div id="additional-resources">
  ## 追加リソース
</div>

* [PySpark Documentation](https://spark.apache.org/docs/latest/api/python/)
* [Devin Playbooks](/ja/product-guides/creating-playbooks) - 再利用可能な移行ワークフローを作成
* [Devin Knowledge](/ja/product-guides/knowledge) - SAS 固有のパターンやソリューションを蓄積

<div id="related-use-cases">
  ## 関連ユースケース
</div>

* [移行とモダナイゼーション](/ja/use-cases/migration-modernization)
* [データ分析](/ja/use-cases/data-analysis)
* [テストとリファクタリング](/ja/use-cases/testing-refactoring)
