Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all 5653 articles
Browse latest View live

No Data In HANA View

$
0
0

Hi Experts,

 

I have a simple calculation view on a single table without any filters. I can see data when I do Table > Data Preview.

But when I run the calculation View I can't see any data coming through.

I am not sure what may be the problem. What I know is data volume is huge in this table. May that be a reason here?

Or some authorization problem.

 

Regards

Jitendra


Datatype change of a Column

$
0
0

Hi,

 

          I have uploaded data from flat file.One of the column is in Nvarchar. Now i want to do some operations on it.How to change the data type from NVARCHAR to DECIMAL via query? or is there any other way?

could not activate views, authorisation Repo.modify_change

$
0
0

Hi,

 

I have created a new schema under the name "3" and created two tables. Moving to content folder I created a new sub package named "3" under my native package that I was already working for another purpose.  I created a attribute view ,but it didn't get activated. it shows the error log as follows,

Capture.PNG
Could someone help me on this. Thank you.

hana on docker container

$
0
0

Hi,

 

I have installed an hana server on a docker container and it's worked.

But when I stop docker container, I am not able to restart hana server.

it seems hdbdaemon doesn't start..

Any idea ? Has someone encounter the same issue ?

 

Regards

Sandrine

2 billion row limit?

$
0
0

I am new to SAP HANA and came across several issues when handling large tables (>2 billion rows).

 

 

As far as I understood, such tables need to be partitioned when written but apart from that on does not need to bother. Therefore I am quite surprised to run constantly into trouble when querying large tables. Regardless of performance-reasons to split such large tables, I am wondering whether there is really no other option.

 

 

To be more specific, I am working in the following setup:

- A table "T" with primary key "a" and roughly 2.2 billion rows

- A table "S" with several million rows

- A decomposition of "T" into "T1 and "T2" of similar size such that T=T1 union T2

 

On these tables the following statements fail:

 

1.

select T.a, S.a

from T

inner join S

on T.a=S.a

 

--> SAP DBTech JDBC: [2048]: column store error: search table error:  [2598] column search intermediate result exceeds 2 billion rows limitation

 

 

 

2.

select b, count(a)

from (

    select a, b from T1

    union

    select a, b from T2

);

 

--> SAP DBTech JDBC: [2048]: column store error: search table error:  [34104] Intermediate result is too large in CalculationEngine.

 

 

 

3.

create column table MYTABLE as (

    select a from T

) partition by roundrobin partitions 16;

 

--> [129]: transaction rolled back by an internal error: exception 10001001: Search result size limit exceeded: 2236482994

 

 

 

In general, it appears that large tables (>2 billion rows) can be handled whenever they are already partitioned and written. In contrast, when they are created during a query (e.g. by an outer join or a union), HANA mostly terminates with an errror.

Is this behaviour intended by HANA?

Is there an explicit rule what HANA can handle?

Are there hints or other routines to overcome the described issues?

 

 

I really appreciate any clarifications.

 

Cheers,

 

 

Mapkyc

Internal error during join: invalid input (revision 102 - partitioned tables)

$
0
0

Hi folks,

 

We're facing the following error after upgrading our Hana instance to revision 102:

 

"Column store error: search table error: [23057] Internal error during join : invalid input"

 

while trying to execute a hdbprocedure (called by an XSJS service) that makes a query similar to this:

 

SELECT COL_1,

              COL_2,

             ...

  FROM TABLE_1 T1

INNER JOIN TABLE_2 T2 ON T1.COL_A  = T2.COL_X

                                     AND T1.COL_B  = T2.COL_Y

                                     ...

                                     AND T1.DATE_1 = IFNULL(T2.DATE_2, T2.DATE_3)

WHERE T2.DATE_3 = P_DATE;

 

These tables are partitioned by Hash on level 1 and Range by MONTH(DATE_3) on level 2 for Data Pruning.

If we undo the partitioning, the execution completes successfully. Also, if we execute this query manually (outside the proc), it brings data successfully.

 

We already checked the data and none of these date columns have invalid data. The weird part is that it was working pretty fine when we were using rev 85.

 

Any ideas?

 

Thanks,

multiple schemas

$
0
0

Dear All,

 

Please can anyone advise if it is a fine practice to have multiple schemas in HANA :

 

- Schema 1: Accounts Payables

-Schema 2: General Ledger

- Schema 3: Account Receivables

 

At present we need ability to classify RUNTIME Catalog objects like TABLES and Stored Procedures under its Schema

 

Doing this, does it have any performance issues or limitation on Security and Privileges etc ?

 

Regards

Automated HANA User Creation from SLT server - Just started happening?

$
0
0

I have an odd predicament.  No one claims to have touched our SLT or HANA live system in a way that would do this (and except for the HEC team, it's a very small group of people who could do this), and no upgrades seem to have been done, but for some reason, a few weeks ago; a very useful feature was activated that no one seems to know exists.

 

In short, when you touch a user on the ABAP SLT server (which is not being replicated at all into HANA live), it automatically creates/adjusts/locks/unlocks the associated user on the HANA database.  e.g. If I lock a user on the SLT ABAP server, within half a second, the user is locked on HANA.

 

In other words, something is keeping the users on the SLT server and the HANA server in sync. 

 

Unfortunately, it is not setting up users quite the way we need them set-up (SAML, Logon Tickets, etc); so I need to change this, but since I can't find any database triggers, queues, events, etc; that are triggering this change; I'm struggling to know what to do to address this.

 

The question: Does anyone know what feature is activated to do this and know where there's any documentation on it?

 

Note - Previously I had written a question (and solution) Replicating ERP Users to HANA Live (HEC) for Fiori to do all this manually, but obviously need to tweak this to work with this new functionality.


For reference we are running HANA 1.00.102.04.1453734118 (HEC based) and SLT server 2.0 (on a NetWeaver 7.40 system).

 

Thanks,

Matt


SAP HANA System Issue after a few days of runtime

$
0
0

Hi Gurus,

 

We are facing an Issue on our HANA System. Mostly after a runtime of more ore less than three days we are unable to log on to the sap system via SAP GUI. we see the folowing ABAP dumps. more than 500 dumps per Day

 

systemdump.png

Systemdumps on ABAP side, Connect to the instance mostly not possible

 

 

At the HANA logs I see these entrys

hana_log.png

 

HANA DB-Version 1.00.112.00.1457615240

Can somebody help me solve this issue?

Schema conversion after HANA refresh

$
0
0

How to convert the schema after performing HANA DB Refresh ?

 

In general terms how to preform the schema conversion in HANA DB ?

Input Parameters not working in Web Based Development

$
0
0

Hi All,

 

I have created input parameters in CV,

 

Issue 1.

 

I am able to get the IP popup in HANA studio - thru desktop when I execute the CV.

 

I tried to execute the same CV through Web based development, Here i am not getting any IP popup to pass the values. selections IP is mandatory.

 

 

Issue 2:

 

(Note: Not filtered thru Expression - If I filter thru Expression its working)

 

Ex: RegionID is Input parameters and applied filter on Region Attribute. i,e Region = $$RegionID$$.

      This is working perfectly on SAP HANA Desktop.

 

Now the same i am not to able to execute in web based development. throwing error.

 

Error Message :

 

Unsupported feature : Encountered an unsupported featured with name : Element Filter - only Filter Expression is supported. Open this model that

Text editor

 

Appreciate your efforts..

 

Trying to understand the Web based HANA.

Issue in opening graphical calculation view editor

$
0
0

Hi,

 

I am facing issue in opening graphical calculation view editor. There are no error messages .

 

When I am trying to open 1 particular graphical calculation view, it is just showing blank page instead of all relevant nodes.

This issue is only for 1 single calc. view, rest other calc. views are working fine.

 

Please suggest possible cause and resolution for this issue.

 

SAP HANA Modeler perspective --> Calc. View open --> blank page

SAP HANA Version 1.00.096.00

SAP HANA Studio Version 2.0.13

CalcviewError.png

 

Best Regards,

Avinash

Issue with HANA studio

$
0
0

Hi All,

 

We have a HANA running on SPS 11.

Studio is on 102.

 

When i try to open the roles tab i get the below error. Any pointers please?

!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".

!STACK 0

java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'string'

    at org.eclipse.jface.viewers.StyledString.append(StyledString.java:264)

    at org.eclipse.jface.viewers.StyledString.<init>(StyledString.java:132)

    at org.eclipse.jface.viewers.StyledString.<init>(StyledString.java:117)

    at org.eclipse.ui.model.WorkbenchLabelProvider.getStyledText(WorkbenchLabelProvider.java:213)

    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateCommonLabelProvider.getStyledText(SafeDelegateCommonLabelProvider.java:118)

    at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.findStyledText(NavigatorContentServiceLabelProvider.java:167)

    at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.getStyledText(NavigatorContentServiceLabelProvider.java:153)

    at org.eclipse.ui.internal.navigator.NavigatorDecoratingLabelProvider$StyledLabelProviderAdapter.getStyledText(NavigatorDecoratingLabelProvider.java:63)

    at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.getStyledText(DelegatingStyledCellLabelProvider.java:206)

    at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider.getStyledText(DecoratingStyledCellLabelProvider.java:199)

    at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.update(DelegatingStyledCellLabelProvider.java:106)

    at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider.update(DecoratingStyledCellLabelProvider.java:136)

    at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:154)

    at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:949)

    at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:114)

    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)

    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)

    at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1029)

    at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:473)

    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)

    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)

    at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2176)

    at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2750)

    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1916)

    at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:684)

    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1891)

    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1848)

    at org.eclipse.ui.navigator.CommonViewer.internalRefresh(CommonViewer.java:527)

    at org.eclipse.jface.viewers.StructuredViewer$8.run(StructuredViewer.java:1554)

    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1462)

    at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:366)

    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1423)

    at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1551)

    at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:534)

    at org.eclipse.ui.navigator.CommonViewer.refresh(CommonViewer.java:344)

    at org.eclipse.ui.navigator.CommonViewer.refresh(CommonViewer.java:490)

    at com.sap.ndb.studio.authorization.AuthorizationWorkbenchAdapter$2$1.runInUIThread(AuthorizationWorkbenchAdapter.java:162)

    at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:97)

    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)

    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4155)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3772)

    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)

    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)

    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)

    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)

    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)

    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)

    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)

    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)

    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)

    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)

    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)

    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)

    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:498)

    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)

    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)

    at org.eclipse.equinox.launcher.Main.run(Main.java:1515)

HALM - getting a huge list of changeid's to pick on activation

$
0
0

Experts,

 

We are on sp HANA 102.04 and have turned on HALM.

 

When we activate a view one of our users gets a *huge* list of changeid's.

 

If I go to the HALM web interface and filter for his userid I only see like 7 changeid's for him.

 

Is there some preference setting that he needs to set to see only his changids?

 

Mike

Number of records fetched from HANA to reporting tool

$
0
0

Hi Team,

 

We are using the reporting tool Microstrategy and I sometimes need to find the number of records fetched from HANA (102.03) when any query is triggered from the reporting tool (Microstrategy).

 

The HANA view "M_Connections" provides this details per connection but I am looking for any view/table which can give the statistics of fetched records and memory consumed per each SQL call made by reporting tool. Can someone throw light on this.

 

Regards,

Ashok Oleti


Deploy DU between tenants

$
0
0

Hello,

 

It's possible to deploy DU between tenant databases?

 

I've followed the step with hdbuprep to deploy from the converted tenant to systemDB and the next tenants created will have this content but I've already tenant created. It's possible to deploy DU from SYSTEMDB to this tenant o between tenants?

 

Regards.

Creating a table using hdbtable

Google-like search for row tables in Hana

$
0
0

Hi experts,

is it possible to define a google-like search (including fuzzy search) for row tables in Hana, e.g. using CDS-Views or attribute view or is that only possible for column tables? If it possible for row table, which technique needs to be used?

 

Thanks in advance for your answers!

 

Regards,

Frank

Problem in "Data Preview" of Calculation view following upgrade

$
0
0

Hi Friends

 

We upgraded our DB revision of HANA to SPS 10 ( 102.04) and after that my calculation view stopped working .  Every time I am trying to do "Data Preview"  it is taking huge time and then throwing an error message like below .

 

calv1.PNG

calv2.PNG

 

Before upgrade Data Preview with similar  selection on input parameter, used to take 3-4 seconds to return 70K ( approx) records.  Now, it is running for 3-5 minutes before throwing the error message.

 

Same model gives data in Development or Quality although much slower performance .    Does anyone face this problem and have a solution ?

 

 

We raised high priority service message, but yet to hear back .

 

 

Regards

Anindya

Conversion character to integer

$
0
0

Hi all,

 

I'm building a Calculation View based on SQL Scripting. Within this Calculation View I try to use the CE-functions as much as possble.

One of the challenges is the conversion of a character field (containing numbers) to something like an integer.

 

So, is there a way of doing that within a Calculation View?

 

Using conversion functions the validation is always okay, but running the view always leads to errors (mentioning that the data type for a specific function is wrong).

 

Any ideas?

 

Thanks!

Grz,

Stefan

Viewing all 5653 articles
Browse latest View live


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