SQL interface (alpha)

Introduction

In addition to HTTP REST APIs, Bloomeo provides a SQL interface. The SQL API enables delivering data over the Postgres-compatible protocol to a wide range of data visualization tools. In general, if an application connects to PostgreSQL database, it can connect to this interface as well. This feature is currently in alpha and may be subject to changes.

Prerequisites

To use the SQL interface, you need:

  • A Bloomeo account with access to the SQL interface feature.
  • Basic knowledge of SQL syntax and commands.
  • An up-to-date JWT token for authentication (see Authentication for more details).

Make your first query

To execute SQL queries against the Bloomeo SQL interface, follow these steps:

  • Get a JWT token for authentication.

  • Connect to the SQL interface using a PostgreSQL client (e.g., psql, DBeaver, etc.) with the following connection parameters:

    • Host: cubesql.<ENV>.bloomeo-app.com (replace <ENV> with your environment you can find in your current url bar, e.g., in developer.app.bloomeo-app.com, the ENV is app).
    • Port: 15432
    • User: cube
    • Password: Your JWT token
    • Database: cube
  • Once connected, you can execute SQL queries. For example, to retrieve all tables in the database, you can run:

SELECT table_name FROM information_schema.tables WHERE table_schema = 'public';
  • Or get the number of trials you have access to:
SELECT COUNT(*) FROM trial WHERE year = 2024;

Examples

With psql

Here is an example of how to connect to the Bloomeo SQL interface using the psql command-line tool:

export PGPASSWORD="your_jwt_token_here"
psql -h cubesql.demo.bloomeo-app.com -U cube -d cube -p 15432
psql (15.10 (Debian 15.10-0+deb12u1), server 14.2 (Cube SQL))
Type "help" for help.

cube=> SELECT COUNT(*) FROM trial WHERE year = 2024;
 COUNT(UInt8(1)) 
-----------------
               5
(1 row)

With R

  1. Install dependencies:
install.packages(c("RPostgres", "DBI"))
  1. Use the following code to connect and query:
library(DBI)             

# Set env and credentials
bloomeo_env <- "" # replace "" with the environment tag you can find in your current url bar, e.g., in developer.app.bloomeo-app.com, the ENV is app
token <- "" # replace "" with your JWT token

# Init a DB connector
con <- dbConnect(
  RPostgres::Postgres(),
  host = paste0("cubesql.",bloomeo_env, ".bloomeo-app.com"),  
  port = 15432,                   
  dbname = "cube",
  user = "cube",
  password = token
)

# Simple query
res <- dbGetQuery(con, "
  SELECT COUNT(*)
  FROM trial
  WHERE year = 2024;
")
print(res)

# Disconnect
dbDisconnect(con)

With Python

  1. Install dependencies:
# Install via pip
pip install psycopg2-binary sqlalchemy
# Install via uv
uv add psycopg2-binary sqlalchemy
  1. Use the following code to connect and query:
from sqlalchemy import create_engine, text

# Set credentials and connection URL in SQLAlchemy format
user = "cube"
token = "" # replace "" with your JWT token
bloomeo_env = "" # replace "" with the environment tag you can find in your current url bar, e.g., in developer.app.bloomeo-app.com, the ENV is app
host = f"cubesql.{bloomeo_env}.bloomeo-app.com"

# Set URL
port = "15432"
db_name = "cube"
db_url = f"postgresql+psycopg2://{user}:{token}@{host}:{port}/{db_name}"

# Set query
query = """
  SELECT COUNT(*)
  FROM trial
  WHERE year = 2024;
"""

# Start engine and connect to DB
engine = create_engine(db_url)

# Query the DB
with engine.connect() as conn:
    result = conn.execute(text(query))
    for row in result:
        print(row)

Use join

The SQL API also supports joins through the __cubeJoinField virtual column, which allows to control how specific cubes are joined. Join can also be done through CROSS JOIN.

SELECT
  notation.variableId,
  notation.value
FROM
  notation
  LEFT JOIN trial ON notation.__cubeJoinField = trial.__cubeJoinField
  LEFT JOIN variable ON notation.__cubeJoinField = variable.__cubeJoinField
WHERE
  variable.type = 'dec'
  AND trial.id = '67ed56309385a8605ffc99e6'
  AND (notation.tenantid = '6396e894c24797ed07bb40ab')
GROUP BY
  notation.variableId,
  notation.value
LIMIT
  10000;

or

SELECT
  notation.variableId,
  notation.value
FROM
  notation
  cross JOIN trial 
  CROSS JOIN variable
WHERE
  variable.type = 'dec'
  AND trial.id = '67ed56309385a8605ffc99e6'
  AND (notation.tenantid = '6396e894c24797ed07bb40ab')
GROUP BY
  notation.variableId,
  notation.value
LIMIT
  10000;

Limitations

  • The SQL interface is currently in alpha and may have limitations or bugs.
  • Not all SQL features may be supported, refer to the Reference documentation for details.
  • Performance may vary depending on the complexity of the queries and the load on the system.
  • Ensure to keep your JWT token secure, as it provides access to your data.

Relations

graph TD
	experiment_subject["experiment_subject"] -->|many_to_one| trial["trial"]
	genotype["genotype"] -->|many_to_one| modality_subModalities["modality_subModalities"]
	genotype["genotype"] -->|one_to_many| genotype_organization["genotype_organization"]
	genotype["genotype"] -->|one_to_many| genotype_sharedWithOrganizations["genotype_sharedWithOrganizations"]
	genotype["genotype"] -->|one_to_many| genotype_species["genotype_species"]
	genotype["genotype"] -->|one_to_one| met_factors_moda_submoda["met_factors_moda_submoda"]
	genotype_market_segment_selection["genotype_market_segment_selection"] -->|many_to_one| genotype["genotype"]
	genotype_market_segment_selection["genotype_market_segment_selection"] -->|many_to_one| genotype_market_segment["genotype_market_segment"]
	genotype_market_segment_selection["genotype_market_segment_selection"] -->|one_to_many| genotype_market_segment_selection_micro_market_segment_ids["genotype_market_segment_selection_micro_market_segment_ids"]
	growing_area["growing_area"] -->|one_to_many| growing_area_geography["growing_area_geography"]
	growing_area["growing_area"] -->|one_to_many| growing_area_organization["growing_area_organization"]
	growing_area_climate["growing_area_climate"] -->|many_to_one| growing_area["growing_area"]
	growing_area_geography["growing_area_geography"] -->|many_to_one| growing_area["growing_area"]
	growing_area_organization["growing_area_organization"] -->|many_to_one| growing_area["growing_area"]
	growing_area_soil_type["growing_area_soil_type"] -->|many_to_one| growing_area["growing_area"]
	growing_area_users["growing_area_users"] -->|many_to_one| growing_area["growing_area"]
	market_segment["market_segment"] -->|one_to_many| market_segment_species["market_segment_species"]
	market_segment["market_segment"] -->|one_to_many| met_market_segment_selection["met_market_segment_selection"]
	market_segment["market_segment"] -->|one_to_many| micro_market_segment["micro_market_segment"]
	market_segment["market_segment"] -->|one_to_many| trial_market_segment_selection["trial_market_segment_selection"]
	market_segment_species["market_segment_species"] -->|many_to_one| market_segment["market_segment"]
	met["met"] -->|one_to_many| met_organization["met_organization"]
	met["met"] -->|one_to_many| met_sharedWithOrganizations["met_sharedWithOrganizations"]
	met["met"] -->|one_to_many| met_speciesV2["met_speciesV2"]
	met["met"] -->|one_to_many| met_tagIds["met_tagIds"]
	met["met"] -->|one_to_many| trial["trial"]
	met["met"] -->|one_to_one| met_factors["met_factors"]
	met["met"] -->|one_to_one| met_geography["met_geography"]
	met["met"] -->|one_to_one| met_market_segment_selection["met_market_segment_selection"]
	met["met"] -->|one_to_one| met_responsible_users["met_responsible_users"]
	met["met"] -->|one_to_one| met_team_users["met_team_users"]
	met_factors["met_factors"] -->|many_to_one| met["met"]
	met_factors["met_factors"] -->|one_to_one| met_factors_modalities["met_factors_modalities"]
	met_factors_moda_submoda["met_factors_moda_submoda"] -->|one_to_one| genotype["genotype"]
	met_factors_moda_submoda["met_factors_moda_submoda"] -->|one_to_one| other_factor_modalities["other_factor_modalities"]
	met_factors_moda_submoda["met_factors_moda_submoda"] -->|one_to_one| product["product"]
	met_factors_modalities["met_factors_modalities"] -->|many_to_one| met["met"]
	met_factors_modalities["met_factors_modalities"] -->|one_to_one| met_factors_moda_submoda["met_factors_moda_submoda"]
	met_factors_modalities["met_factors_modalities"] -->|one_to_one| modality["modality"]
	met_geography["met_geography"] -->|many_to_one| met["met"]
	met_market_segment["met_market_segment"] -->|one_to_many| met_market_segment_selection["met_market_segment_selection"]
	met_market_segment_selection["met_market_segment_selection"] -->|many_to_one| met_market_segment["met_market_segment"]
	met_market_segment_selection["met_market_segment_selection"] -->|one_to_one| met["met"]
	met_organization["met_organization"] -->|many_to_one| met["met"]
	met_responsible_users["met_responsible_users"] -->|many_to_one| user["user"]
	met_responsible_users["met_responsible_users"] -->|one_to_one| met["met"]
	met_sharedWithOrganizations["met_sharedWithOrganizations"] -->|many_to_one| met["met"]
	met_sharedWithOrganizations["met_sharedWithOrganizations"] -->|many_to_one| met_shared["met_shared"]
	met_speciesV2["met_speciesV2"] -->|many_to_one| met["met"]
	met_tagIds["met_tagIds"] -->|many_to_one| bloomeo_tag["bloomeo_tag"]
	met_tagIds["met_tagIds"] -->|many_to_one| met["met"]
	met_team_users["met_team_users"] -->|many_to_one| met["met"]
	met_team_users["met_team_users"] -->|many_to_one| user["user"]
	micro_market_segment["micro_market_segment"] -->|many_to_one| market_segment["market_segment"]
	micro_market_segment["micro_market_segment"] -->|one_to_many| micro_market_segment_geography["micro_market_segment_geography"]
	micro_market_segment["micro_market_segment"] -->|one_to_many| micro_market_segment_organization["micro_market_segment_organization"]
	micro_market_segment["micro_market_segment"] -->|one_to_many| micro_market_segment_species["micro_market_segment_species"]
	micro_market_segment_geography["micro_market_segment_geography"] -->|many_to_one| micro_market_segment["micro_market_segment"]
	micro_market_segment_organization["micro_market_segment_organization"] -->|many_to_one| micro_market_segment["micro_market_segment"]
	micro_market_segment_species["micro_market_segment_species"] -->|many_to_one| micro_market_segment["micro_market_segment"]
	modality["modality"] -->|one_to_one| modality_subModalities["modality_subModalities"]
	modality_subModalities["modality_subModalities"] -->|many_to_one| modality["modality"]
	modality_subModalities["modality_subModalities"] -->|one_to_one| genotype["genotype"]
	modality_subModalities["modality_subModalities"] -->|one_to_one| other_factor_modalities["other_factor_modalities"]
	modality_subModalities["modality_subModalities"] -->|one_to_one| product["product"]
	notation["notation"] -->|many_to_one| notebook["notebook"]
	notation["notation"] -->|many_to_one| variable["variable"]
	notation["notation"] -->|one_to_one| notation_info_value_ids["notation_info_value_ids"]
	notation["notation"] -->|one_to_one| notation_multi_notation_values["notation_multi_notation_values"]
	notation["notation"] -->|one_to_one| plot["plot"]
	notation["notation"] -->|one_to_one| plot_or_subplot["plot_or_subplot"]
	notation["notation"] -->|one_to_one| sub_plot["sub_plot"]
	notation_info_value_ids["notation_info_value_ids"] -->|many_to_one| notation["notation"]
	notation_multi_notation_values["notation_multi_notation_values"] -->|many_to_one| notation["notation"]
	notebook["notebook"] -->|many_to_one| notebook_geography["notebook_geography"]
	notebook["notebook"] -->|many_to_one| notebook_organization["notebook_organization"]
	notebook["notebook"] -->|many_to_one| notebook_species["notebook_species"]
	notebook["notebook"] -->|many_to_one| op_task["op_task"]
	notebook["notebook"] -->|many_to_one| trial["trial"]
	notebook["notebook"] -->|one_to_many| notebook_plot_variable["notebook_plot_variable"]
	notebook["notebook"] -->|one_to_many| notebook_trial_variable["notebook_trial_variable"]
	notebook_geography["notebook_geography"] -->|many_to_one| notebook["notebook"]
	notebook_organization["notebook_organization"] -->|many_to_one| notebook["notebook"]
	notebook_plot_variable["notebook_plot_variable"] -->|many_to_one| notebook["notebook"]
	notebook_plot_variable["notebook_plot_variable"] -->|many_to_one| variable["variable"]
	notebook_species["notebook_species"] -->|many_to_one| notebook["notebook"]
	notebook_trial_variable["notebook_trial_variable"] -->|many_to_one| notebook["notebook"]
	notebook_trial_variable["notebook_trial_variable"] -->|many_to_one| variable["variable"]
	op_task["op_task"] -->|belongs_to| met["met"]
	op_task["op_task"] -->|belongs_to| trial["trial"]
	op_task["op_task"] -->|many_to_one| op_task_geography["op_task_geography"]
	op_task["op_task"] -->|many_to_one| op_task_organization["op_task_organization"]
	op_task["op_task"] -->|many_to_one| op_task_species["op_task_species"]
	op_task["op_task"] -->|one_to_many| op_task_variables["op_task_variables"]
	op_task["op_task"] -->|one_to_one| op_task_team["op_task_team"]
	op_task_geography["op_task_geography"] -->|many_to_one| op_task["op_task"]
	op_task_organization["op_task_organization"] -->|many_to_one| op_task["op_task"]
	op_task_species["op_task_species"] -->|many_to_one| op_task["op_task"]
	op_task_team["op_task_team"] -->|many_to_one| user["user"]
	op_task_team["op_task_team"] -->|one_to_many| op_task["op_task"]
	op_task_variables["op_task_variables"] -->|many_to_one| op_task["op_task"]
	op_task_variables["op_task_variables"] -->|many_to_one| variable["variable"]
	other_factor_modalities["other_factor_modalities"] -->|one_to_many| other_factor["other_factor"]
	plot["plot"] -->|many_to_one| trial["trial"]
	plot["plot"] -->|one_to_one| treatment["treatment"]
	plot_or_subplot["plot_or_subplot"] -->|many_to_one| trial["trial"]
	plot_or_subplot["plot_or_subplot"] -->|one_to_many| notation["notation"]
	plot_or_subplot["plot_or_subplot"] -->|one_to_one| treatment["treatment"]
	product["product"] -->|many_to_one| modality_subModalities["modality_subModalities"]
	product["product"] -->|one_to_many| product_market_segment_selection["product_market_segment_selection"]
	product["product"] -->|one_to_many| product_organization["product_organization"]
	product["product"] -->|one_to_many| product_sharedWithOrganization["product_sharedWithOrganization"]
	product["product"] -->|one_to_many| product_species["product_species"]
	product_market_segment_selection["product_market_segment_selection"] -->|many_to_one| product["product"]
	product_market_segment_selection["product_market_segment_selection"] -->|one_to_many| product_market_segment["product_market_segment"]
	product_market_segment_selection["product_market_segment_selection"] -->|one_to_many| product_market_segment_selection_micro_market_segment_ids["product_market_segment_selection_micro_market_segment_ids"]
	product_market_segment_selection_micro_market_segment_ids["product_market_segment_selection_micro_market_segment_ids"] -->|many_to_one| market_segment["market_segment"]
	product_organization["product_organization"] -->|many_to_one| product["product"]
	product_sharedWithOrganization["product_sharedWithOrganization"] -->|many_to_one| product["product"]
	product_species["product_species"] -->|many_to_one| product["product"]
	resource["resource"] -->|many_to_one| genotype["genotype"]
	resource["resource"] -->|many_to_one| trial["trial"]
	resource["resource"] -->|many_to_one| variable["variable"]
	sub_plot["sub_plot"] -->|many_to_one| trial["trial"]
	sub_plot["sub_plot"] -->|one_to_one| plot["plot"]
	treatment["treatment"] -->|one_to_many| trial_conclusion_treatments["trial_conclusion_treatments"]
	treatment["treatment"] -->|one_to_one| plot_or_subplot["plot_or_subplot"]
	treatment["treatment"] -->|one_to_one| treatment_modalities["treatment_modalities"]
	treatment["treatment"] -->|one_to_one| trial["trial"]
	treatment_modalities["treatment_modalities"] -->|many_to_one| modality["modality"]
	treatment_modalities["treatment_modalities"] -->|one_to_one| treatment["treatment"]
	treatment_modalities["treatment_modalities"] -->|one_to_one| trial_factors_modalities["trial_factors_modalities"]
	trial["trial"] -->|many_to_one| trial_geography["trial_geography"]
	trial["trial"] -->|many_to_one| trial_organization["trial_organization"]
	trial["trial"] -->|many_to_one| trial_speciesV2["trial_speciesV2"]
	trial["trial"] -->|one_to_many| op_task["op_task"]
	trial["trial"] -->|one_to_many| plot["plot"]
	trial["trial"] -->|one_to_many| trial_location_coordinates["trial_location_coordinates"]
	trial["trial"] -->|one_to_many| trial_partner_selection["trial_partner_selection"]
	trial["trial"] -->|one_to_many| trial_sharedWithOrganizations["trial_sharedWithOrganizations"]
	trial["trial"] -->|one_to_many| trial_tagids["trial_tagids"]
	trial["trial"] -->|one_to_many| trial_templateobs_units_plot["trial_templateobs_units_plot"]
	trial["trial"] -->|one_to_many| trial_templateobs_units_trial["trial_templateobs_units_trial"]
	trial["trial"] -->|one_to_one| growing_area["growing_area"]
	trial["trial"] -->|one_to_one| met["met"]
	trial["trial"] -->|one_to_one| trial_factors["trial_factors"]
	trial["trial"] -->|one_to_one| trial_market_segment_selection["trial_market_segment_selection"]
	trial["trial"] -->|one_to_one| trial_responsible_users["trial_responsible_users"]
	trial["trial"] -->|one_to_one| trial_team_users["trial_team_users"]
	trial_concl_modality_advtag["trial_concl_modality_advtag"] -->|many_to_one| trial_conclusion_modalities["trial_conclusion_modalities"]
	trial_concl_modality_advtag["trial_concl_modality_advtag"] -->|one_to_many| bloomeo_tag["bloomeo_tag"]
	trial_concl_modality_dbktag["trial_concl_modality_dbktag"] -->|many_to_one| trial_conclusion_modalities["trial_conclusion_modalities"]
	trial_concl_modality_dbktag["trial_concl_modality_dbktag"] -->|one_to_many| bloomeo_tag["bloomeo_tag"]
	trial_concl_modality_warntag["trial_concl_modality_warntag"] -->|many_to_one| trial_conclusion_modalities["trial_conclusion_modalities"]
	trial_concl_modality_warntag["trial_concl_modality_warntag"] -->|one_to_many| bloomeo_tag["bloomeo_tag"]
	trial_concl_treatment_advtag["trial_concl_treatment_advtag"] -->|one_to_one| bloomeo_tag["bloomeo_tag"]
	trial_concl_treatment_advtag["trial_concl_treatment_advtag"] -->|one_to_one| trial_conclusion_treatments["trial_conclusion_treatments"]
	trial_concl_treatment_dbktag["trial_concl_treatment_dbktag"] -->|one_to_one| bloomeo_tag["bloomeo_tag"]
	trial_concl_treatment_dbktag["trial_concl_treatment_dbktag"] -->|one_to_one| trial_conclusion_treatments["trial_conclusion_treatments"]
	trial_concl_treatment_warntag["trial_concl_treatment_warntag"] -->|one_to_one| bloomeo_tag["bloomeo_tag"]
	trial_concl_treatment_warntag["trial_concl_treatment_warntag"] -->|one_to_one| trial_conclusion_treatments["trial_conclusion_treatments"]
	trial_conclusion["trial_conclusion"] -->|one_to_one| met["met"]
	trial_conclusion["trial_conclusion"] -->|one_to_one| trial["trial"]
	trial_conclusion["trial_conclusion"] -->|one_to_one| trial_conclusion_modalities["trial_conclusion_modalities"]
	trial_conclusion["trial_conclusion"] -->|one_to_one| trial_conclusion_treatments["trial_conclusion_treatments"]
	trial_conclusion_modalities["trial_conclusion_modalities"] -->|many_to_one| modality["modality"]
	trial_conclusion_modalities["trial_conclusion_modalities"] -->|many_to_one| trial_conclusion["trial_conclusion"]
	trial_conclusion_treatments["trial_conclusion_treatments"] -->|one_to_one| treatment["treatment"]
	trial_conclusion_treatments["trial_conclusion_treatments"] -->|one_to_one| trial_conclusion["trial_conclusion"]
	trial_factors["trial_factors"] -->|many_to_one| trial["trial"]
	trial_factors["trial_factors"] -->|one_to_one| trial_factors_modalities["trial_factors_modalities"]
	trial_factors_moda_submoda["trial_factors_moda_submoda"] -->|many_to_one| genotype["genotype"]
	trial_factors_moda_submoda["trial_factors_moda_submoda"] -->|many_to_one| other_factor_modalities["other_factor_modalities"]
	trial_factors_moda_submoda["trial_factors_moda_submoda"] -->|many_to_one| product["product"]
	trial_factors_moda_submoda["trial_factors_moda_submoda"] -->|many_to_one| trial["trial"]
	trial_factors_modalities["trial_factors_modalities"] -->|many_to_one| trial["trial"]
	trial_factors_modalities["trial_factors_modalities"] -->|one_to_one| modality["modality"]
	trial_factors_modalities["trial_factors_modalities"] -->|one_to_one| trial_factors_moda_submoda["trial_factors_moda_submoda"]
	trial_geography["trial_geography"] -->|many_to_one| trial["trial"]
	trial_market_segment["trial_market_segment"] -->|one_to_many| trial_market_segment_selection["trial_market_segment_selection"]
	trial_market_segment_selection["trial_market_segment_selection"] -->|many_to_one| trial["trial"]
	trial_market_segment_selection["trial_market_segment_selection"] -->|many_to_one| trial_market_segment["trial_market_segment"]
	trial_no_partner["trial_no_partner"] -->|hasMany| trial_partner_selection["trial_partner_selection"]
	trial_no_partner["trial_no_partner"] -->|many_to_one| growing_area["growing_area"]
	trial_no_partner["trial_no_partner"] -->|many_to_one| met["met"]
	trial_no_partner["trial_no_partner"] -->|many_to_one| plot["plot"]
	trial_no_partner["trial_no_partner"] -->|one_to_many| op_task["op_task"]
	trial_organization["trial_organization"] -->|many_to_one| trial["trial"]
	trial_partner_selection["trial_partner_selection"] -->|many_to_one| trial["trial"]
	trial_partner_selection["trial_partner_selection"] -->|one_to_one| partner["partner"]
	trial_responsible_users["trial_responsible_users"] -->|many_to_one| trial["trial"]
	trial_responsible_users["trial_responsible_users"] -->|many_to_one| user["user"]
	trial_sharedWithOrganizations["trial_sharedWithOrganizations"] -->|many_to_one| trial["trial"]
	trial_sharedWithOrganizations["trial_sharedWithOrganizations"] -->|many_to_one| trial_shared["trial_shared"]
	trial_speciesV2["trial_speciesV2"] -->|many_to_one| trial["trial"]
	trial_tagids["trial_tagids"] -->|many_to_one| bloomeo_tag["bloomeo_tag"]
	trial_tagids["trial_tagids"] -->|many_to_one| trial["trial"]
	trial_team_users["trial_team_users"] -->|many_to_one| trial["trial"]
	trial_team_users["trial_team_users"] -->|many_to_one| user["user"]
	trial_templateobs_units_plot["trial_templateobs_units_plot"] -->|one_to_one| variable["variable"]
	trial_templateobs_units_trial["trial_templateobs_units_trial"] -->|one_to_one| variable["variable"]
	user["user"] -->|many_to_one| tenant["tenant"]
	user["user"] -->|one_to_one| user_permission_profile["user_permission_profile"]
	user_permission_profile["user_permission_profile"] -->|many_to_one| role["role"]
	user_permission_profile["user_permission_profile"] -->|many_to_one| tenant["tenant"]
	user_permission_profile["user_permission_profile"] -->|one_to_one| user["user"]
	variable["variable"] -->|one_to_many| variable_species["variable_species"]

Tables

bloomeo_tag

  • SQL table/view: bloomeo_tag

Dimensions

NameTypeTitleFlags
idstringIdprimary_key, shown
contextstring
systemmetadataCreatedbystringSystemmetadata.createdby
systemmetadataUpdatedbystringSystemmetadata.updatedby
tenantidstring
typestring
valuestring
systemmetadataCreateddatetimeSystemmetadata.createddate
systemmetadataUpdateddatetimeSystemmetadata.updateddate

Measures

NameTypeTitleFlags
countcount
concatstringtags

Joins

None

experiment_subject

  • SQL table/view: experiment_subject

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
labelstring
referenceidstring
systemmetadata_createdbystringSystemmetadata.createdby
systemmetadata_updatedbystringSystemmetadata.updatedby
tenantidstring
trialidstring
typestring
systemmetadata_createddatetimeSystemmetadata.createddate
systemmetadata_updateddatetimeSystemmetadata.updateddate

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
trialmany_to_one

genotype

  • SQL table/view: genotype

Dimensions

NameTypeTitleFlags
idstringIdprimary_key, public
namestring
speciesstring
isControlbooleanIs Control
speciesFlattenstring
organizationFlattenstring
sharedWithOrganizationsFlattenstring
crossTypestring
germplasmMaterialTypestring
materialCreationProfilestring
varietystring
generationstring
externalIdstring
tenantidstring

Measures

NameTypeTitleFlags
countcount
count_distinctcount_distinct

Joins

To cubeRelationship
genotype_speciesone_to_many
genotype_organizationone_to_many
genotype_sharedWithOrganizationsone_to_many
modality_subModalitiesmany_to_one
met_factors_moda_submodaone_to_one

genotype_market_segment

  • SQL table/view: genotype_market_segment

Dimensions

None

Measures

None

Joins

None

genotype_market_segment_selection

  • SQL table/view: genotype_market_segment_selection

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
genotypeIdstringId
marketSegmentIdstringmarketSegmentId
tenantIdstringTenant Id

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
genotypemany_to_one
genotype_market_segmentmany_to_one
genotype_market_segment_selection_micro_market_segment_idsone_to_many

genotype_market_segment_selection_micro_market_segment_ids

  • SQL table/view: genotype_market_segment_selection_micro_market_segment_ids

Dimensions

NameTypeTitleFlags
genotypeMarketSegmentIdstringIdprimary_key
marketSegmentSelection_microMarketSegmentIds_idxnumbermicroMarketSegmentId Idxprimary_key
marketSegmentSelection_microMarketSegmentIdstringmicroMarketSegmentId

Measures

NameTypeTitleFlags
countcount

Joins

None

genotype_organization

  • SQL table/view: genotype_organization

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
organizationstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringOrganizations

Joins

None

genotype_sharedWithOrganizations

  • SQL table/view: genotype_sharedWithOrganizations

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
sharedWithOrganizationstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringShared With Organizations

Joins

None

genotype_species

  • SQL table/view: genotype_species

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
speciesstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringSpecies

Joins

None

growing_area

  • SQL table/view: growing_area

Dimensions

NameTypeTitleFlags
idstringIdprimary_key, public
commentsstring
descriptionstring
identifierstring
labelstring
namestring
locationstring
location_longitudenumber
location_latitudenumber
climateFlattenstringGrowing area climates
soilTypeFlattenstringGrowing area soil types
systemmetadata_createdbystringSystemmetadata.createdby
systemmetadata_updatedbystringSystemmetadata.updatedby
tenantidstring
systemmetadata_createddatetimeSystemmetadata.createddate
systemmetadata_updateddatetimeSystemmetadata.updateddate
organizationFlattenstringorganization
geographyFlattenstringgeography

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
growing_area_geographyone_to_many
growing_area_organizationone_to_many

growing_area_climate

  • SQL table/view: growing_area_climate

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
climatestring

Measures

NameTypeTitleFlags
countcount
concatstringGrowing area climates

Joins

To cubeRelationship
growing_areamany_to_one

growing_area_geography

  • SQL table/view: growing_area_geography

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
geographystring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringGeographies

Joins

To cubeRelationship
growing_areamany_to_one

growing_area_organization

  • SQL table/view: growing_area_organization

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
organizationstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringOrganization

Joins

To cubeRelationship
growing_areamany_to_one

growing_area_soil_type

  • SQL table/view: growing_area_soil_type

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
soiltypestring

Measures

NameTypeTitleFlags
countcount
concatstringGrowing area soil types

Joins

To cubeRelationship
growing_areamany_to_one

growing_area_users

  • SQL table/view: growing_area_users

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
usersstring
tenantIdstring

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
growing_areamany_to_one

label_printing_page_format

  • SQL table/view: label_printing_page_format

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
sizestring
tenantidstring

Measures

NameTypeTitleFlags
countcount

Joins

None

label_printing_profile

  • SQL table/view: label_printing_profile

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
codetypestring
tenantidstring

Measures

NameTypeTitleFlags
countcount

Joins

None

label_printing_profile_fields

  • SQL table/view: label_printing_profile_fields

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
fields_typestringFields.type

Measures

NameTypeTitleFlags
countcount

Joins

None

market_segment

  • SQL table/view: market_segment

Dimensions

NameTypeTitleFlags
idstringIdprimary_key, shown
descriptionstring
commentsstring
namestring
identifierstring
speciesstring
speciesFlattenstring
geographyFlattenstring
organizationFlattenstring
systemmetadata_createdbystringSystemmetadata.createdby
systemmetadata_updatedbystringSystemmetadata.updatedby
tenantidstring
systemmetadata_createddatetimeSystemmetadata.createddate
systemmetadata_updateddatetimeSystemmetadata.updateddate

Measures

NameTypeTitleFlags
countcount
concatstringmarket segments

Joins

To cubeRelationship
trial_market_segment_selectionone_to_many
met_market_segment_selectionone_to_many
market_segment_speciesone_to_many
micro_market_segmentone_to_many

market_segment_species

  • SQL table/view: market_segment_species

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
speciesstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringSpecies

Joins

To cubeRelationship
market_segmentmany_to_one

met

  • SQL table/view: met

Dimensions

NameTypeTitleFlags
idstringIdprimary_key, shown
descriptionstring
labelstring
materiallevel_germplasmlevelstringMateriallevel.germplasmlevel
namestring
concludeStatusstring
objectivestring
speciesstring
speciesFlattenstring
geographyFlattenstring
organizationFlattenstring
sharedWithOrganizationsFlattenstring
statusstring
systemmetadata_createdbystringSystemmetadata.createdby
systemmetadata_updatedbystringSystemmetadata.updatedby
templateobsidstring
tenantidstring
systemmetadata_createddatetimeSystemmetadata.createddate
systemmetadata_updateddatetimeSystemmetadata.updateddate
enddatetime
periodfromtime
startdatetime
yearnumber

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
met_market_segment_selectionone_to_one
met_factorsone_to_one
met_speciesV2one_to_many
met_geographyone_to_one
met_organizationone_to_many
met_sharedWithOrganizationsone_to_many
met_team_usersone_to_one
met_responsible_usersone_to_one
met_tagIdsone_to_many
trialone_to_many

met_factors

  • SQL table/view: met_factors

Dimensions

NameTypeTitleFlags
metIdstringIdprimary_key
idstring
typestring
factor_idxnumberprimary_key

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
met_factors_modalitiesone_to_one
metmany_to_one

met_factors_moda_submoda

  • SQL table/view: met_factors_moda_submoda

Dimensions

NameTypeTitleFlags
metIdstringIdprimary_key, shown
refIdstring
isDiscardedstring
localStagestring
isControlboolean
factor_idxnumberprimary_key
modality_idxnumberprimary_key
subModalities_idxnumberprimary_key
plannedNumberOfSeednumber
plannedNumberOfTrialnumber
dosageValuestring
dosageUnitstring

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
genotypeone_to_one
productone_to_one
other_factor_modalitiesone_to_one

met_factors_modalities

  • SQL table/view: met_factors_modalities

Dimensions

NameTypeTitleFlags
metIdstringIdprimary_key
modalityidstring
isControlboolean
globalModalityIdstring
shortIdstring
modality_idxnumberprimary_key
factor_idxnumberprimary_key

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
met_factors_moda_submodaone_to_one
modalityone_to_one
metmany_to_one

met_geography

  • SQL table/view: met_geography

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
geographystring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringGeographies

Joins

To cubeRelationship
metmany_to_one

met_market_segment

  • SQL table/view: met_market_segment

Dimensions

None

Measures

None

Joins

To cubeRelationship
met_market_segment_selectionone_to_many

met_market_segment_selection

  • SQL table/view: met_market_segment_selection

Dimensions

NameTypeTitleFlags
metIdstringIdprimary_key
marketSegmentIdstringMarketSegmentSelection.marketSegmentId
marketSegmentSelection_idxnumber

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
metone_to_one
met_market_segmentmany_to_one

met_market_segment_selection_micro_market_segment_ids

  • SQL table/view: met_market_segment_selection_micro_market_segment_ids

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
marketSegmentSelection_microMarketSegmentIds_idxnumbermarketSegmentSelection.microMarketSegmentIds Idx
marketSegmentSelection_idxnumber
marketSegmentSelection_microMarketSegmentIdsstringmarketSegmentSelection.microMarketSegmentIds

Measures

NameTypeTitleFlags
countcount

Joins

None

met_organization

  • SQL table/view: met_organization

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
organizationstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringOrganizations

Joins

To cubeRelationship
metmany_to_one

met_responsible_users

  • SQL table/view: met_responsible_users

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
responsibleusersstring
responsibleusers_idxnumber

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
metone_to_one
usermany_to_one

met_shared

  • SQL table/view: met_shared

Dimensions

None

Measures

None

Joins

None

met_sharedWithOrganizations

  • SQL table/view: met_sharedWithOrganizations

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
organizationstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringOrganizations

Joins

To cubeRelationship
metmany_to_one
met_sharedmany_to_one

met_speciesV2

  • SQL table/view: met_speciesV2

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
speciesV2string
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringSpecies V2

Joins

To cubeRelationship
metmany_to_one

met_tagIds

  • SQL table/view: met_tagIds

Dimensions

NameTypeTitleFlags
idstringIdprimary_key, shown
tagIdstring
tagId_idxnumber

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
metmany_to_one
bloomeo_tagmany_to_one

met_team_users

  • SQL table/view: met_team_users

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
teamusersstring
teamusers_idxnumber

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
metmany_to_one
usermany_to_one

met_trials_draft

  • SQL table/view: met_trials_draft

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
trialsdraft_growingareaidstringTrialsdraft.growingareaid
trialsdraft_namestringTrialsdraft.name

Measures

NameTypeTitleFlags
countcount

Joins

None

micro_market_segment

  • SQL table/view: micro_market_segment

Dimensions

NameTypeTitleFlags
marketSegmentIdstring
microMarketSegmentIdstringMicro Market Segment Idprimary_key, shown
descriptionstring
namestring
systemmetadata_createdbystringSystemmetadata.createdby
systemmetadata_updatedbystringSystemmetadata.updatedby
tenantidstring
systemmetadata_createddatetimeSystemmetadata.createddate
systemmetadata_updateddatetimeSystemmetadata.updateddate
identifierstring

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
micro_market_segment_geographyone_to_many
micro_market_segment_organizationone_to_many
micro_market_segment_speciesone_to_many
market_segmentmany_to_one

micro_market_segment_geography

  • SQL table/view: micro_market_segment_geography

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
geographystring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringGeographies

Joins

To cubeRelationship
micro_market_segmentmany_to_one

micro_market_segment_organization

  • SQL table/view: micro_market_segment_organization

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
organizationstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringOrganization

Joins

To cubeRelationship
micro_market_segmentmany_to_one

micro_market_segment_species

  • SQL table/view: micro_market_segment_species

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
speciesstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringSpecies

Joins

To cubeRelationship
micro_market_segmentmany_to_one

modality

  • SQL table/view: modality

Dimensions

NameTypeTitleFlags
idstringIdprimary_key, shown
hashstring
tenantidstring

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
modality_subModalitiesone_to_one

modality_subModalities

  • SQL table/view: modality_subModalities

Dimensions

NameTypeTitleFlags
idstringIdprimary_key, shown
refIdstring
typestring
quantitystring
subModalities_idxnumber

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
genotypeone_to_one
productone_to_one
other_factor_modalitiesone_to_one
modalitymany_to_one

notation

  • SQL table/view: notation

Dimensions

NameTypeTitleFlags
idstringIdshown
valuestring
finalValuestring
notebookIdstring
subjectIdstring
subjectTypestring
variableIdstring
tenantidstring
reviewStatusnumber
notationDatetime
systemmetadata_createddatetimeSystemmetadata.createddate
systemmetadata_updateddatetimeSystemmetadata.updateddate

Measures

NameTypeTitleFlags
countcount
sumsum
avg_valuenumber
maxmax
minmin

Joins

To cubeRelationship
variablemany_to_one
plot_or_subplotone_to_one
plotone_to_one
sub_plotone_to_one
notebookmany_to_one
notation_multi_notation_valuesone_to_one
notation_info_value_idsone_to_one

notation_info_value_ids

  • SQL table/view: notation_info_value_ids

Dimensions

NameTypeTitleFlags
notationIdstringIdprimary_key
notationInfoValueIdstring

Measures

None

Joins

To cubeRelationship
notationmany_to_one

notation_multi_notation_values

  • SQL table/view: notation_multi_notation_values

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
valuestring
multinotationvalues_notationdatetimeMultinotationvalues.notationdate

Measures

NameTypeTitleFlags
countcount
multinotationvalues_sumsumMultinotationvalues.sum
multinotationvalues_avgavgMultinotationvalues.avg
multinotationvalues_minminMultinotationvalues.min
multinotationvalues_maxmaxMultinotationvalues.max

Joins

To cubeRelationship
notationmany_to_one

notebook

  • SQL table/view: notebook

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
observationroundidstring
observeridstring
statusstring
systemmetadata_createdbystringSystemmetadata.createdby
systemmetadata_updatedbystringSystemmetadata.updatedby
tenantidstring
trialidstring
systemmetadata_createddatetimeSystemmetadata.createddate
systemmetadata_updateddatetimeSystemmetadata.updateddate
speciesFlattenstring
geographyFlattenstring
organizationFlattenstring

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
trialmany_to_one
op_taskmany_to_one
notebook_plot_variableone_to_many
notebook_trial_variableone_to_many
notebook_speciesmany_to_one
notebook_geographymany_to_one
notebook_organizationmany_to_one

notebook_completion_completion_details_variables_completion

  • SQL table/view: notebook_completion_completion_details_variables_completion

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
completion_completiondetails_variablescompletion_variable_variableidstringCompletion.completiondetails.variablescompletion.variable.variableid

Measures

NameTypeTitleFlags
countcount

Joins

None

notebook_geography

  • SQL table/view: notebook_geography

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
geographystring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringGeographies

Joins

To cubeRelationship
notebookmany_to_one

notebook_organization

  • SQL table/view: notebook_organization

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
organizationstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringOrganizations

Joins

To cubeRelationship
notebookmany_to_one

notebook_plot_variable

  • SQL table/view: notebook_plot_variable

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
variable_idstring
tenantidstring

Measures

None

Joins

To cubeRelationship
variablemany_to_one
notebookmany_to_one

notebook_species

  • SQL table/view: notebook_species

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
speciesstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringSpecies

Joins

To cubeRelationship
notebookmany_to_one

notebook_trial_variable

  • SQL table/view: notebook_trial_variable

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
variable_idstring
tenantidstring

Measures

None

Joins

To cubeRelationship
variablemany_to_one
notebookmany_to_one

op_task

  • SQL table/view: op_task

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
descriptionstring
experimentidstring
labelstring
metadata_createdbystringMetadata.createdby
namestring
stagestring
statusstring
systemmetadata_createdbystringSystemmetadata.createdby
systemmetadata_updatedbystringSystemmetadata.updatedby
tenantidstring
trialidstring
typestring
variablegroupidstring
metadata_createddatetimeMetadata.createddate
systemmetadata_createddatetimeSystemmetadata.createddate
systemmetadata_updateddatetimeSystemmetadata.updateddate
enddatetime
startdatetime
speciesFlattenstring
geographyFlattenstring
organizationFlattenstring

Measures

NameTypeTitleFlags
countcount
count_completedcount
completion_ratenumber
count_incompletecount
count_obs_roundcount
count_opscount

Segments

NameTypeTitleFlags
completed
not_completed

Joins

To cubeRelationship
op_task_variablesone_to_many
op_task_teamone_to_one
op_task_speciesmany_to_one
op_task_geographymany_to_one
op_task_organizationmany_to_one
trialbelongs_to
metbelongs_to

op_task_completion_completion_details_variables_completion

  • SQL table/view: op_task_completion_completion_details_variables_completion

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
completion_completiondetails_variablescompletion_variable_variableidstringCompletion.completiondetails.variablescompletion.variable.variableid

Measures

NameTypeTitleFlags
countcount

Joins

None

op_task_geography

  • SQL table/view: op_task_geography

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
geographystring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringGeographies

Joins

To cubeRelationship
op_taskmany_to_one

op_task_organization

  • SQL table/view: op_task_organization

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
organizationstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringOrganizations

Joins

To cubeRelationship
op_taskmany_to_one

op_task_species

  • SQL table/view: op_task_species

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
speciesstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringSpecies

Joins

To cubeRelationship
op_taskmany_to_one

op_task_team

  • SQL table/view: op_task_team

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
teamstring
team_idxnumber

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
op_taskone_to_many
usermany_to_one

op_task_variables

  • SQL table/view: op_task_variables

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
variableIdstring

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
variablemany_to_one
op_taskmany_to_one

other_factor

  • SQL table/view: other_factor

Dimensions

NameTypeTitleFlags
idstringIdprimary_key, public
namestringName
codestringCode
descriptionstringDescription

Measures

None

Joins

None

other_factor_modalities

  • SQL table/view: other_factor_modalities

Dimensions

NameTypeTitleFlags
other_factor_idstringIdprimary_key, public
modalities_idxnumberprimary_key
idstringIdprimary_key, public
namestringName
descriptionstringDescription
isControlbooleanIs Control
externalIdstringExternal Id

Measures

None

Joins

To cubeRelationship
other_factorone_to_many

partner

  • SQL table/view: partner

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
accountidstring
accountnamestring
countrystring
location_typestringLocation.type
regionstring
systemmetadata_createdbystringSystemmetadata.createdby
systemmetadata_updatedbystringSystemmetadata.updatedby
tenantidstring
systemmetadata_createddatetimeSystemmetadata.createddate
systemmetadata_updateddatetimeSystemmetadata.updateddate

Measures

NameTypeTitleFlags
countcount

Joins

None

partner_contacts

  • SQL table/view: partner_contacts

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
contacts_idstringContacts. Id
contacts_emailstringContacts.email
contacts_firstnamestringContacts.firstname
contacts_lastnamestringContacts.lastname
contacts_mobilephonestringContacts.mobilephone

Measures

NameTypeTitleFlags
countcount

Joins

None

partner_growing_area_ids

  • SQL table/view: partner_growing_area_ids

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
growingareaidsstring

Measures

NameTypeTitleFlags
countcount

Joins

None

partner_location_coordinates

  • SQL table/view: partner_location_coordinates

Dimensions

NameTypeTitleFlags
idstringIdprimary_key

Measures

NameTypeTitleFlags
countcount

Joins

None

partner_partner_types

  • SQL table/view: partner_partner_types

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
partnertypesstring

Measures

NameTypeTitleFlags
countcount

Joins

None

plot

  • SQL table/view: plot

Dimensions

NameTypeTitleFlags
idstringIdprimary_key, shown
labelstring
codestring
systemmetadata_createdbystringSystemmetadata.createdby
systemmetadata_updatedbystringSystemmetadata.updatedby
tenantidstring
parentIdstring
trialidstring
systemmetadata_createddatetimeSystemmetadata.createddate
systemmetadata_updateddatetimeSystemmetadata.updateddate
repnumberstring
qty_of_seedsnumber

Measures

NameTypeTitleFlags
countcount
qty_of_seeds_sumsum

Joins

To cubeRelationship
treatmentone_to_one
trialmany_to_one

plot_or_subplot

  • SQL table/view: plot_or_subplot

Dimensions

NameTypeTitleFlags
mergeidstringmergeIdprimary_key, shown
idstring
labelstring
codestring
systemmetadata_createdbystringSystemmetadata.createdby
systemmetadata_updatedbystringSystemmetadata.updatedby
tenantidstring
parentIdstring
trialidstring
systemmetadata_createddatetimeSystemmetadata.createddate
systemmetadata_updateddatetimeSystemmetadata.updateddate
repnumberstring
qty_of_seedsnumber

Measures

None

Joins

To cubeRelationship
treatmentone_to_one
trialmany_to_one
notationone_to_many

product

  • SQL table/view: product

Dimensions

NameTypeTitleFlags
namestringName
idstringIdprimary_key, public
officialNamestring
alternateNamestring
speciesFlattenstring
organizationFlattenstring
sharedWithOrganizationsFlattenstring
isControlboolean
ownershipstring
companyNamestring
externalIdstring
commentsstring
labelstring
formulationstring
formulationUnitstring
tenantidstring

Measures

NameTypeTitleFlags
countcount
count_distinctcount_distinct

Joins

To cubeRelationship
product_speciesone_to_many
product_organizationone_to_many
product_sharedWithOrganizationone_to_many
product_market_segment_selectionone_to_many
modality_subModalitiesmany_to_one

product_market_segment

  • SQL table/view: product_market_segment

Dimensions

None

Measures

None

Joins

None

product_market_segment_selection

  • SQL table/view: product_market_segment_selection

Dimensions

NameTypeTitleFlags
product_market_segments_join_idstringIdprimary_key
productIdstringId
marketSegmentIdstringMarketSegmentSelection.marketSegmentId

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
productmany_to_one
product_market_segmentone_to_many
product_market_segment_selection_micro_market_segment_idsone_to_many

product_market_segment_selection_micro_market_segment_ids

  • SQL table/view: product_market_segment_selection_micro_market_segment_ids

Dimensions

NameTypeTitleFlags
productIdstringIdprimary_key
climatestring
marketSegmentIdstringMarketSegmentSelection.marketSegmentId
microMarketSegmentIdstringMicroMarketSegmentId

Measures

NameTypeTitleFlags
countcount
concatstringGrowing area climates

Joins

To cubeRelationship
market_segmentmany_to_one

product_organization

  • SQL table/view: product_organization

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
organizationstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringGeographies

Joins

To cubeRelationship
productmany_to_one

product_sharedWithOrganization

  • SQL table/view: product_sharedWithOrganization

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
shared_with_organizationstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringGeographies

Joins

To cubeRelationship
productmany_to_one

product_species

  • SQL table/view: product_species

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
speciesstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringGeographies

Joins

To cubeRelationship
productmany_to_one

resource

  • SQL table/view: resource

Dimensions

NameTypeTitleFlags
idstringIdprimary_key, shown
resourceTypestring
likestring
publicIdstring
assetIdstring
urlstring
metadata_trialIdstringMetadata.trialid
metadata_materialIdstringMetadata.materialid
metadata_variableIdstring
tenantidstring

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
trialmany_to_one
genotypemany_to_one
variablemany_to_one

role

  • SQL table/view: role

Dimensions

NameTypeTitleFlags
idstringprimary_key, shown
namestring
is_customboolean
base_role_idstring
permissionsstring
created_bystring
created_datetime
updated_bystring
updated_datetime
tenantidstring

Measures

NameTypeTitleFlags
countcount

Joins

None

sub_plot

  • SQL table/view: sub_plot

Dimensions

NameTypeTitleFlags
idstringIdprimary_key, shown
labelstring
codestring
subPlotNumberstring
isDiscardedboolean
tenantidstring
parentIdstring
trialidstring
systemmetadata_createdbystringSystemmetadata.createdby
systemmetadata_updatedbystringSystemmetadata.updatedby
systemmetadata_createddatetimeSystemmetadata.createddate
systemmetadata_updateddatetimeSystemmetadata.updateddate

Measures

None

Joins

To cubeRelationship
plotone_to_one
trialmany_to_one

tenant

  • SQL table/view: tenant

Dimensions

NameTypeTitleFlags
idstringprimary_key

Measures

None

Joins

None

treatment

  • SQL table/view: treatment

Dimensions

NameTypeTitleFlags
idstringIdprimary_key, shown
qty_of_seedsnumber
labelstring
systemmetadata_createdbystringSystemmetadata.createdby
systemmetadata_updatedbystringSystemmetadata.updatedby
tenantidstring
trialidstring
systemmetadata_createddatetimeSystemmetadata.createddate
systemmetadata_updateddatetimeSystemmetadata.updateddate
treatmentnumberstring
replicationsnumber
metTreatmentIdstring

Measures

NameTypeTitleFlags
countcount
qty_of_seeds_sumsum

Joins

To cubeRelationship
plot_or_subplotone_to_one
trial_conclusion_treatmentsone_to_many
treatment_modalitiesone_to_one
trialone_to_one

treatment_modalities

  • SQL table/view: treatment_modalities

Dimensions

NameTypeTitleFlags
treatmentIdstringIdprimary_key, shown
expModalityIdstring
globalModalityIdstring
modalities_idxnumber
trialIdstring

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
treatmentone_to_one
trial_factors_modalitiesone_to_one
modalitymany_to_one

trial

  • SQL table/view: trial

Dimensions

NameTypeTitleFlags
idstringIdprimary_key, shown
commentsstring
concludeStatusstring
contractstring
cultivationmethodstring
currencystring
descriptionstring
growingareaidstring
labelstring
location_typestringLocation.type
materiallevel_germplasmlevelstringMateriallevel.germplasmlevel
metidstring
namestring
objectivestring
speciesFlattenstring
geographyFlattenstring
organizationFlattenstring
sharedWithOrganizationsFlattenstring
speciesstring
statusstring
systemmetadata_createdbystringSystemmetadata.createdby
systemmetadata_updatedbystringSystemmetadata.updatedby
templateobsidstring
tenantidstring
systemmetadata_createddatetimeSystemmetadata.createddate
systemmetadata_updateddatetimeSystemmetadata.updateddate
enddatetime
startdatetime
plantsnumbernumber
rowsnumbernumber
costnumber
yearnumber
tagIdsFlattenstringTrial tags

Measures

NameTypeTitleFlags
countcount
cost_sumsum

Joins

To cubeRelationship
metone_to_one
growing_areaone_to_one
plotone_to_many
op_taskone_to_many
trial_templateobs_units_plotone_to_many
trial_templateobs_units_trialone_to_many
trial_market_segment_selectionone_to_one
trial_speciesV2many_to_one
trial_geographymany_to_one
trial_organizationmany_to_one
trial_sharedWithOrganizationsone_to_many
trial_team_usersone_to_one
trial_responsible_usersone_to_one
trial_tagidsone_to_many
trial_partner_selectionone_to_many
trial_location_coordinatesone_to_many
trial_factorsone_to_one

trial_concl_modality_advtag

  • SQL table/view: trial_concl_modality_advtag

Dimensions

NameTypeTitleFlags
trial_conclusion_idstringIdprimary_key, shown
tagIdstring
conclusionModalities_idxnumberprimary_key
advantagesTags_idxnumberprimary_key

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
trial_conclusion_modalitiesmany_to_one
bloomeo_tagone_to_many

trial_concl_modality_dbktag

  • SQL table/view: trial_concl_modality_dbktag

Dimensions

NameTypeTitleFlags
trial_conclusion_idstringIdprimary_key, shown
tagIdstring
conclusionModalities_idxnumberprimary_key
drawbackTags_idxnumberprimary_key

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
trial_conclusion_modalitiesmany_to_one
bloomeo_tagone_to_many

trial_concl_modality_warntag

  • SQL table/view: trial_concl_modality_warntag

Dimensions

NameTypeTitleFlags
trial_conclusion_idstringIdprimary_key, shown
tagIdstring
conclusionModalities_idxnumberprimary_key
warningTags_idxnumberprimary_key

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
trial_conclusion_modalitiesmany_to_one
bloomeo_tagone_to_many

trial_concl_treatment_advtag

  • SQL table/view: trial_concl_treatment_advtag

Dimensions

NameTypeTitleFlags
trial_conclusion_idstringIdshown
tagIdstring
conclusionTreatments_idxnumberprimary_key
advantagesTags_idxnumberprimary_key

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
trial_conclusion_treatmentsone_to_one
bloomeo_tagone_to_one

trial_concl_treatment_dbktag

  • SQL table/view: trial_concl_treatment_dbktag

Dimensions

NameTypeTitleFlags
trial_conclusion_idstringIdprimary_key, shown
tagIdstring
conclusionTreatments_idxnumberprimary_key
drawbackTags_idxnumberprimary_key

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
trial_conclusion_treatmentsone_to_one
bloomeo_tagone_to_one

trial_concl_treatment_warntag

  • SQL table/view: trial_concl_treatment_warntag

Dimensions

NameTypeTitleFlags
trial_conclusion_idstringIdprimary_key, shown
tagIdstring
conclusionTreatments_idxnumberprimary_key
warningTags_idxnumberprimary_key

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
trial_conclusion_treatmentsone_to_one
bloomeo_tagone_to_one

trial_conclusion

  • SQL table/view: trial_conclusion

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
experimentIdstring
experimentTypeboolean
systemmetadata_createdbystringSystemmetadata.createdby
systemmetadata_updatedbystringSystemmetadata.updatedby
tenantidstring

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
trialone_to_one
metone_to_one
trial_conclusion_treatmentsone_to_one
trial_conclusion_modalitiesone_to_one

trial_conclusion_modalities

  • SQL table/view: trial_conclusion_modalities

Dimensions

NameTypeTitleFlags
trial_conclusion_idstringIdprimary_key
conclusionIdstringIdprimary_key
modality_idstring
preconisationboolean
preconisation_commentsstring
conclusionModalities_idxnumber

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
trial_conclusionmany_to_one
modalitymany_to_one

trial_conclusion_treatments

  • SQL table/view: trial_conclusion_treatments

Dimensions

NameTypeTitleFlags
trial_conclusion_idstringIdprimary_key, shown
treatment_idstring
preconisationboolean
preconisation_commentsstring
conclusionTreatments_idxnumberprimary_key

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
treatmentone_to_one
trial_conclusionone_to_one

trial_factors

  • SQL table/view: trial_factors

Dimensions

NameTypeTitleFlags
trialIdstringIdprimary_key
idstring
typestring
factor_idxnumberprimary_key

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
trial_factors_modalitiesone_to_one
trialmany_to_one

trial_factors_moda_submoda

  • SQL table/view: trial_factors_moda_submoda

Dimensions

NameTypeTitleFlags
trialIdstringIdprimary_key, shown
refIdstring
isDiscardedstring
localStagestring
isControlboolean
factor_idxnumberprimary_key
modality_idxnumberprimary_key
subModalities_idxnumberprimary_key
plannedNumberOfSeednumber
plannedNumberOfTrialnumber
dosageValuestring
dosageUnitstring

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
genotypemany_to_one
productmany_to_one
other_factor_modalitiesmany_to_one
trialmany_to_one

trial_factors_modalities

  • SQL table/view: trial_factors_modalities

Dimensions

NameTypeTitleFlags
trialIdstringIdprimary_key
idstring
isControlboolean
globalModalityIdstring
shortIdstring
modality_idxnumberprimary_key
factor_idxnumberprimary_key

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
trial_factors_moda_submodaone_to_one
modalityone_to_one
trialmany_to_one

trial_geography

  • SQL table/view: trial_geography

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
geographystring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringGeographies

Joins

To cubeRelationship
trialmany_to_one

trial_location_coordinates

  • SQL table/view: trial_location_coordinates

Dimensions

NameTypeTitleFlags
trial_idstringTrial Idprimary_key
coordinatenumbercoordinate
coordinate_idxnumber0 is latitude, 1 is longitude

Measures

NameTypeTitleFlags
countcount

Joins

None

trial_market_segment

  • SQL table/view: trial_market_segment

Dimensions

None

Measures

None

Joins

To cubeRelationship
trial_market_segment_selectionone_to_many

trial_market_segment_selection

  • SQL table/view: trial_market_segment_selection

Dimensions

NameTypeTitleFlags
trialIdstringIdprimary_key
marketSegmentIdstringMarketSegmentSelection.marketSegmentId
marketSegmentSelection_idxnumber

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
trialmany_to_one
trial_market_segmentmany_to_one

trial_market_segment_selection_micro_market_segment_ids

  • SQL table/view: trial_market_segment_selection_micro_market_segment_ids

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
marketSegmentSelection_microMarketSegmentIds_idxnumbermarketSegmentSelection.microMarketSegmentIds Idx
marketSegmentSelection_idxnumber
marketSegmentSelection_microMarketSegmentIdsstringmarketSegmentSelection.microMarketSegmentIds

Measures

NameTypeTitleFlags
countcount

Joins

None

trial_no_partner

  • SQL table/view: trial_no_partner

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
commentsstring
conclusionstring
contractstring
cultivationmethodstring
currencystring
descriptionstring
growingareaidstring
labelstring
location_typestringLocation.type
materiallevel_germplasmlevelstringMateriallevel.germplasmlevel
metidstring
namestring
objectivestring
programstring
projectstring
speciesstring
statusstring
systemmetadata_createdbystringSystemmetadata.createdby
systemmetadata_updatedbystringSystemmetadata.updatedby
templateobsidstring
tenantidstring
systemmetadata_createddatetimeSystemmetadata.createddate
systemmetadata_updateddatetimeSystemmetadata.updateddate
enddatetime
startdatetime
plantsnumbernumber
rowsnumbernumber
costnumber

Measures

NameTypeTitleFlags
countcount
count_distinctcount_distinct

Joins

To cubeRelationship
metmany_to_one
growing_areamany_to_one
plotmany_to_one
op_taskone_to_many
trial_partner_selectionhasMany

trial_organization

  • SQL table/view: trial_organization

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
organizationstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringOrganizations

Joins

To cubeRelationship
trialmany_to_one

trial_partner_selection

  • SQL table/view: trial_partner_selection

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
partnerselection_idxnumberprimary_key
partnerselection_partneridstringPartnerselection.partnerid

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
partnerone_to_one
trialmany_to_one

trial_partner_selection_contact_ids

  • SQL table/view: trial_partner_selection_contact_ids

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
partnerselection_contactids_idxnumberPartnerselection.contactids Idx
partnerselection_idxnumber
partnerselection_contactidsstringPartnerselection.contactids

Measures

NameTypeTitleFlags
countcount

Joins

None

trial_responsible_users

  • SQL table/view: trial_responsible_users

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
responsibleusersstring
responsibleusers_idxnumber

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
trialmany_to_one
usermany_to_one

trial_shared

  • SQL table/view: trial_shared

Dimensions

None

Measures

None

Joins

None

trial_sharedWithOrganizations

  • SQL table/view: trial_sharedWithOrganizations

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
organizationstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringOrganizations

Joins

To cubeRelationship
trialmany_to_one
trial_sharedmany_to_one

trial_speciesV2

  • SQL table/view: trial_speciesV2

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
speciesV2string
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringSpecies V2

Joins

To cubeRelationship
trialmany_to_one

trial_tagids

  • SQL table/view: trial_tagids

Dimensions

NameTypeTitleFlags
trialIdstringIdprimary_key, shown
tagIdstring
tagId_idxnumber

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
trialmany_to_one
bloomeo_tagmany_to_one

trial_team_users

  • SQL table/view: trial_team_users

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
teamusersstring
teamusers_idxnumber

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
trialmany_to_one
usermany_to_one

trial_templateobs_units_plot

  • SQL table/view: trial_templateobs_units_plot

Dimensions

NameTypeTitleFlags
trialIdstringIdprimary_key
templateobsunits_plot_variableidstringTemplateobsunits.plot.variableid

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
variableone_to_one

trial_templateobs_units_trial

  • SQL table/view: trial_templateobs_units_trial

Dimensions

NameTypeTitleFlags
trialIdstringIdprimary_key
templateobsunits_trial_variableidstringTemplateobsunits.trial.variableid

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
variableone_to_one

user

  • SQL table/view: user

Dimensions

NameTypeTitleFlags
idstringprimary_key
externalidstring
firstnamestring
lastnamestring
mailstring
deactivatedboolean
colorstring
tenantidstring

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
tenantmany_to_one
user_permission_profileone_to_one

user_permission_profile

  • SQL table/view: user_permission_profile

Dimensions

NameTypeTitleFlags
idstringprimary_key
tenantidstring
geographystring
organizationstring
speciesstring
roleidstring
baseroleidstring
useridstring

Measures

NameTypeTitleFlags
countcount

Joins

To cubeRelationship
tenantmany_to_one
rolemany_to_one
userone_to_one

variable

  • SQL table/view: variable

Dimensions

NameTypeTitleFlags
idstringVariable Idprimary_key, public
commentsstring
constraint_nbdigitsstringVariable Constraints
descriptionstring
identifierstring
inputtypestringInput Type
limited_choicesstringLimited Choices
is_used_for_permissionbooleanIs Used For Permission
name_enstringName
short_namestringShort Name
created_bystringCreated By
updated_bystringUpdated By
tenantidstringTenant ID
typestringVariable Type
unitstring
created_datetimeCreated Date
updated_datetimeUpdated Date
deactivatedbooleanIs Deactivated
speciesFlattenstringVariable species

Measures

NameTypeTitleFlags
countcount
sumsum
count_distinctcount_distinct

Joins

To cubeRelationship
variable_speciesone_to_many

variable_limited_choices

  • SQL table/view: variable_limited_choices

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
limitedchoices_labelstringLimitedchoices.label
limitedchoices_valuestringLimitedchoices.value

Measures

NameTypeTitleFlags
countcount

Joins

None

variable_species

  • SQL table/view: variable_species

Dimensions

NameTypeTitleFlags
idstringIdprimary_key
speciesstring
levelnumber

Measures

NameTypeTitleFlags
countcount
concatstringSpecies

Joins

None