I want to do schema migration with StarRocks, but it seems not support it well?
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
Línea de trabajo
No se han identificado archivos del repositorio, pruebas ni puntos de entrada. Empieza por reproducir los fallos de sincronización de esquemas de StarRocks reportados en las versiones 3.1, 3.3 y 3.4; después, define los objetos compatibles y el comportamiento de las diferencias de esquema para la sincronización y el despliegue entre entornos de StarRocks.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is your feature request related to a problem?
I'm a StarRocks user.
I noticed that Bytebase has supported StarRocks since 2023.
But, I don't know whether Bytebase has good support for StarRocks.
And, I've seen more than ten issues are about StarRocks and Doris. Especially for PRs submitted by @rebelice @d-bytebase
I want to use Bytebase to do schema migration with StarRocks. includes:
- Syncing the schema from SR to Bytebase, such as dbs/tables, views, materialized views, users / roles / grants, external catalogs, row access policies, global variables, and generated columns.
- Being able to directly change the schemas in Bytebase, by providing a complete table schema or a
ALTER TABLEstatement. Then Bytebase should able to diff the schema if provided with a complete table schema and finally rollout the changes. - I have a test env and a prod env, I want to do sync schema from the test env to the prod env, that Bytebase can diff the schema change between the test db and the prod db.
Current problems of testing
About syncing schema from SR
- It fails to sync schema from StarRocks for v3.3 and v3.4.
- It can sync schema from StarRocks for v3.1, but only with tables and views, other objects are not synced.
- About some properties of tables or views and other info which is different with MySQL, I don't know whether Bytebase stores them.
About editing schemas
- I want to edit table schema in Bytebase's web page, but it seems that Bytebase doesn't support adding columns to a SR table, -- it only allows updating the entire table schema.
- I also can't see the schema diff when making changes.
About sync schema between two databases
- I can't choose a SR's database as the source or target database to sync schema. But for MySQL or Postgres, I can.
- I have a Postgres upstream source, I want to sync the schema from Postgres to StarRocks, it seems that Bytebase doesn't support sync schema between different types of databases.
About output schema
- Can I output all the schemas, including tables, views, users, etc., in Bytebase about a database?
- How can I check what objects for SR are suppported?
Some questions about Bytebase
- Do we have a plan to improve StarRocks integration, since it is becoming more widely adopted?
Describe the solution you'd like
- Imporve the integration with StarRocks by adding more objects.
- Be able to sync schema between two SR databases, and diff the schema.
Additional context
No response
- Lenguaje dominante
- TypeScript
- Estrellas
- 14.7k
- Forks
- 1k
- Merge medio
- 7 h 23 min
- PR fusionados (30 d)
- 454
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de bytebase/bytebase
-
BigQuery schema sync fails when ORDINAL_POSITION is NULLPosiblemente ocupada @tuyndoan la tomó hace 89 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
bytebase/bytebase#21217 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
Bug Github
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
Bug Github
Dificultad 4/5 3-5 días Aptitud para principiantes 18/100
Los mantenedores suelen responder en 1 día
-
Feature Github
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
Unbounded goroutine/memory growth: 28k goroutines parked in MCP streamable session reads (OOM)Posiblemente ocupada @vsai12 la tomó hace 19 días. AbiertoBug Github
bytebase/bytebase#21721 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de bytebase/bytebase
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
e2e-failure ready-to-code
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
redhat-developer/rhdh-plugin-export-overlays#4794 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
area: plugins documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
CatVinci-Studio/Textus#727 ·
Los mantenedores suelen responder en 1 día