4paradigm / 4paradigm/OpenMLDB

count(*) over table in offline mode

Ouverte
#3,652 0 commentaires 0 réactions 1 personne assignée Réclamée par @tobegit3hub Voir sur GitHub
batch-engine enhancement high-priority
Langage dominant
C++
Étoiles
1.7k
Forks
331
Merge moyen
12 j 12 h
PR mergées (30 j)
1

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
spark, sql
Domaine
backend, databases, machine-learning
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.