Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Temp schema missing when using cohort demographics

オープン
#2,457 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@oleg-odysseus がすでに取り組んでいます。

2025年8月6日 から。

評価

この issue はまだ評価されていません。

説明

Getting this error on databricks note the cohort table is not being qualified with any temp schema:

USING DELTA
AS
SELECT
CAST(ethnicity_concept_id AS BIGINT) * 1000 + 5 AS covariate_id,
 cohort_definition_id,
 COUNT(*) AS sum_value
FROM
temp_cohort_dhgd0361 cohort
INNER JOIN optum_extended_dod.cdm_optum_extended_dod_v3492.person
 ON cohort.subject_id = person.person_id
WHERE ethnicity_concept_id IN (
 SELECT concept_id
 FROM optum_extended_dod.cdm_optum_extended_dod_v3492.concept
 WHERE LOWER(concept_class_id) = 'ethnicity'
 )
 AND cohort.cohort_definition_id IN (21214)
GROUP BY cohort_definition_id,
 ethnicity_concept_id]; nested exception is java.sql.SQLException: [Databricks][JDBCDriver](500051) ERROR processing query/statement. Error Code: 0, SQL state: 42P01, Query: CREATE TAB***, Error message from Server: org.apache.hive.service.cli.HiveSQLException: Error running query: [TABLE_OR_VIEW_NOT_FOUND] org.apache.spark.sql.catalyst.ExtendedAnalysisException: [TABLE_OR_VIEW_NOT_FOUND] The table or view `temp_cohort_dhgd0361` cannot be found. Verify the spelling and correctness of the schema and catalog.

Note, did not see this on postgres, but postgres has 'true temp tables', so this query needs to be executed in a way that can handle temp schemas.

@oleg-odysseus , please look into this for a 2.15 hot fix. Thank you!

主要言語
Java
スター
153
フォーク
187
平均マージ
1日 13時間
マージ済み PR(30日)
12

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OHDSI/WebAPI のほかの issue

OHDSI/WebAPI の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。