generated from Hochfrequenz/python_template_repository
    
        
        - 
                Notifications
    You must be signed in to change notification settings 
- Fork 2
Open
Description
          weitere sicht ist vertagt
Originally posted by @hf-kklein in #111 (comment)
see better sql below: #115 (comment)
DROP VIEW IF EXISTS kohlrahbi_flatahb;
CREATE VIEW kohlrahbi_flatahb as
   SELECT edifact_format_version as format_version,
          pruefidentifikator as pruefidentifikator,
          kommunikation_von as direction,
          beschreibung as description,
          'SG' || segmentgroup_id as segmentgroup_key, -- eg 'SG6'
          segment_id as segment_code, -- e.g 'NAD'
          dataelement_id as data_element, -- e.g 'D_3035'
		 ...
       FROM ahb_hierarchy_materialized
ORDER BY sort_path;
 --still missing:
    segment_id: Optional[str]
    value_pool_entry: Optional[str]
    name: Optional[str]
    ahb_expression: Optional[str]
    conditions: Optional[str]
    section_name: Optional[str]
    index: Optional[int]
Metadata
Metadata
Assignees
Labels
No labels