Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

Re: problem creating hdbview

$
0
0

Ok,

 

Here are the error descriptions-

"Repository: Internal error during statement execution, please see the database error traces for additional details;invalid column name: T1.QuantityUnit: line 7 col 9 (at pos 205) at ptime/query/checker/check_expr.cc:604,CREATE VIEW "SessionAtul"."workshop.sessions.system.data::ordersExt" AS select T0."OrderId",nttt  T1."OrderItem",nttt  T0."CreatedBy",nttt  T0."CreatedAt",nttt  T1."ProductId",nttt  T1."Quantity",nttt  T1."QuantityUnit"nttfrom "SessionAtul"."workshop.sessions.system.data::myheader" T0nttleft outer join "SessionAtul"."workshop.sessions.system.data::item" T1ntton T0."OrderId" = T1."OrderId"nttorder by T0."OrderId" ASC"

 

AND

 

"Repository: Internal error during statement execution, please see the database error traces for additional details;invalid synonym: target object does not exist: line 1 col 84 (at pos 83) at ptime/query/checker/check_synonym.cc:104,CREATE PUBLIC SYNONYM "workshop.sessions.system.data::ordersExt" FOR "SessionAtul"."workshop.sessions.system.data::ordersExt""

 

and here is the code which I am using in my hdbview

 

schema="SessionAtul";

query="select T0.\"OrderId\",

              T1.\"OrderItem\",

              T0.\"CreatedBy\",

              T0.\"CreatedAt\",

              T1.\"ProductId\",

              T1.\"Quantity\",

              T1.\"QuantityUnit\"

        from \"SessionAtul\".\"workshop.sessions.system.data::myheader\" T0

        left outer join \"SessionAtul\".\"workshop.sessions.system.data::item\" T1

        on T0.\"OrderId\" = T1.\"OrderId\"

        order by T0.\"OrderId\" ASC";

        depends_on_table =["workshop.sessions.system.data::header","workshop.sessions.system.data::item"];

 

Also, below is the screen print of the privilege

 

 

Thanks,

Atul


Viewing all articles
Browse latest Browse all 8968

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>