Skip to content

Commit

Permalink
feat(datasources): add hive datasource (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyozzz authored Apr 7, 2024
1 parent 5993157 commit c682e72
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/locales/en/dataSetupForm.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"text": {
"line1": "Please enter the credentials for the data source to establish a connection.",
"line2": "To obtain further information about this configuration and Cube's features that are specific to Postgres, please refer to our documentation."
"line2": "To obtain further information about this configuration and Cube's features that are specific to this datasource, please refer to our documentation."
}
}
2 changes: 1 addition & 1 deletion public/locales/ru/dataSetupForm.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"text": {
"line1": "Пожалуйста, введите учетные данные для источника данных, чтобы установить соединение.",
"line2": "Для получения дополнительной информации о данной конфигурации и функциях Cube, специфичных для Postgres, обратитесь к нашей документации."
"line2": "Для получения дополнительной информации о данной конфигурации и функциях Cube, специфичных для данного источника данных, обратитесь к нашей документации."
}
}
51 changes: 51 additions & 0 deletions src/assets/databases/hive.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/mocks/dataSources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import Snowflake from "@/assets/databases/snowflake.svg";
import Materialize from "@/assets/databases/materialize.svg";
import Vertica from "@/assets/databases/vertica.svg";
import Athena from "@/assets/databases/athena.svg";
import Hive from "@/assets/databases/hive.svg";

export const dataSourcesMock: DataSourceInfo[] = [
{
Expand Down Expand Up @@ -139,6 +140,7 @@ export const dbTiles = [
{ name: "Materialize", value: "default", icon: <Materialize /> },
{ name: "Vertica", value: "vertica", icon: <Vertica /> },
{ name: "Athena", value: "athena", icon: <Athena /> },
{ name: "Hive", value: "hive", icon: <Hive /> },
];

export const defaultForm: DataSoureSetupField[] = [
Expand Down

0 comments on commit c682e72

Please sign in to comment.