Hub
Pricing About
WorkflowWorkflow

JKISeason3-8

@obito_od#zassou.syk#KD勉強会JKISeason3-8
tyousuke profile image
VersionV1.0.0Latest, created on 
Jul 5, 2024 1:10 PM
Drag & drop
Like
Download workflow
Workflow preview
Filtering Redundant Folder References Challenge 8 Level: Medium Description: You are reorganizing a data warehouse in your company, working with a filesystem that creates parent folders if you give it a reference for a child folder. For example, if you ask the filesystem to create “folder1/folder2” and neither folder1 or folder2 exist, it will create both, with folder2 inside folder1, without raising an error. Given a list of folders, you want to keep only the longest unique child folders, filtering out references to parent folders that will be generated anyway for efficiency. Here's an example of an initial list of folders: - folder1/folder3 - folder1/folder3/folder22 - folder1/folder3/folder22/folder47 After executing your workflow, the list above should only contain a reference for folder1/folder3/folder22/folder47. 説明子フォルダの参照を与えると親フォルダを作成するファイルシステムを使用して、社内のデータウェアハウスを再編成しています。 たとえば、「folder1/folder2」を作成するようにファイルシステムに要求し、folder1もfolder2も存在しない場合、エラーは発生せずに、folder1の中にfolder2を作成します。 フォルダーのリストが与えられた場合、効率化のために、いずれにせよ生成される親フォルダーへの参照をフィルタリングし、最も長いユニークな子フォルダーだけを保持したい。 以下は、フォルダーの初期リストの例です: - folder1/folder3 - folder1/folder3/folder22 - folder1/folder3/folder22/folder47 ワークフローを実行した後、上記のリストには、folder1/folder3/folder22/folder47の参照だけが含まれているはずです。
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 5.2.5
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.4

    knime
  • Go to item
    KNIME ExpressionsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.0

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.0

    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits