Hub
Pricing About
WorkflowWorkflow

Hive - how to handle missing tables in Hive?

Big dataHiveImpalaDb nodesIf
+4
mlauber71 profile image
Draft Latest edits on 
Aug 19, 2024 2:53 PM
Drag & drop
Like
Download workflow
Workflow preview
use try and catch for generic ports. The existing table will be at the resulting port

Try some generic SQL operation on your Hive (or Impala) environment. If one fails you could populate a Flow variable with some information (eg. the surviving table)

Another possibility would be to try some combination with the "Active Branch Inverter"
https://hub.knime.com/knime/extensions/org.knime.features.base/latest/org.knime.base.node.flowcontrol.trycatch.inverter.ActiveBranchInverterNodeFactory




External resources

  • KNIME Flow Control Guide
  • MEDIUM Blog: KNIME, Databases and SQL
  • example how to use Try/Catch sequence while writing to Database
  • Sending a file via EMail - use of Active Branch Inverter
  • School of Hive - with KNIME's local Big Data environment (SQL for Big Data)
  • Leveraging Athena with KNIME in a Robust Manner, Part 2
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

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

    KNIME AG, Zurich, Switzerland

    Version 4.7.8

    knime
  • Go to item
    KNIME DatabaseTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.4

    knime
  • Go to item
    KNIME ExpressionsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.3

    knime
  • Go to item
    KNIME Extension for Local Big Data EnvironmentsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.7

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.4

    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