4paradigm / 4paradigm/OpenMLDB

count(*) over table in offline mode

オープン
#3,652 コメント 0 件 リアクション 0 件 担当者 1 名 @tobegit3hub が担当を希望しています GitHub で見る
batch-engine enhancement high-priority
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
1

説明

We don't support agg over table in offline mode, only online mode supports.
So if user wants to get offline data count, it's hard to do. Now user can run it on spark-shell/pyspark.
But if user can't prepare the spark env, it's better to enable sparksql in openmldb.

pass --spark_conf with option `spark.openmldb.sparksql`

P.S. user should know that not all openmldb sql can be run on spark engine.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Look for the offline mode execution path and the SQL parser. The issue mentions enabling sparksql via a spark.conf flag `spark.openmldb.sparksql`. Find where offline queries are routed and how to conditionally use Spark's SQL engine for aggregate functions like count(*). Check test files for offline query execution to understand the expected behavior.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
spark, sql
領域
backend, databases, machine-learning
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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