You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When populating the expression_feature MView I get the following error message:
WD tripal_mviews: PDOException: SQLSTATE[22001]: String data, right truncated: 7 ERROR: value too long for type [error]
character varying(255): INSERT INTOchado.expression_feature (SELECT DISTINCT(F.feature_id) AS feature_id,
O.organism_idAS organism_id, F.uniquenameAS feature_uniquename, O.common_nameAS organism_common_name, (
SELECT string_agg(DXR.accession, ',') AS accession FROM feature_cvterm FC INNER JOIN cvterm CVT ONCVT.cvterm_id=FC.cvterm_idINNER JOIN dbxref DXR ONDXR.dbxref_id=CVT.dbxref_idWHEREF.feature_id=FC.feature_id ) AS accession FROM feature F INNER JOIN organism O ONF.organism_id=O.organism_idINNER JOIN element E ONE.feature_id=F.feature_idINNER JOIN elementresult ER ONER.element_id=E.element_idINNER JOIN quantification Q ONQ.quantification_id=ER.quantification_id INNER
JOIN acquisition AC ONAC.acquisition_id=Q.acquisition_idINNER JOIN assay A ONA.assay_id=AC.assay_idINNER JOIN assay_biomaterial AB ONAB.assay_id=A.assay_idINNER JOIN biomaterial B ONB.biomaterial_id=AB.biomaterial_id); Array
(
)
The problem is this part of the SQL that populates the table:
(
SELECT string_agg(DXR.accession, ',') AS accession FROM feature_cvterm FC
INNER JOIN cvterm CVT ONCVT.cvterm_id=FC.cvterm_idINNER JOIN dbxref DXR ONDXR.dbxref_id=CVT.dbxref_idWHEREF.feature_id=FC.feature_id
) AS accession
It's combining all of accession for the feature CVterms into a single list that can't exceed 225 characters. This should really be a textfield. Some of my features have a lot of annotations and this exceeds the limit.
The text was updated successfully, but these errors were encountered:
When populating the
expression_feature
MView I get the following error message:The problem is this part of the SQL that populates the table:
It's combining all of accession for the feature CVterms into a single list that can't exceed 225 characters. This should really be a textfield. Some of my features have a lot of annotations and this exceeds the limit.
The text was updated successfully, but these errors were encountered: