How to Export data from SAP HANA Modelling-Views?
I can export data from tables via
Right-click on table
Export
... continue with dialog ..
But how to export content of an information view (e.g. a calculation view)
You can use the EXPORT() SQL command or the File -> Export -> SAP HANA -> Catalog Objects to export any activated information model.
However, this functionality may work differently from what you expect.
It does not run a default query against every object included in the export and stores the current result in the export.
Instead, exporting activated views leads to the export of all objects the view depends on, including all the data in the respective base tables. On top, the DDL for the activated object gets exported.
So, basically with the export of an information view, one can recreate the fully working activated information view on a different system.
This feature is meant for troubleshooting/testing/development activities - not for view result storage.
Related
I have a sandbox instance and I create a outbound change set which include triggers, classes and custom objects. I select the dependencies and they are added to the outbound changeset .
Now there is a custom object that I have in Sandbox , Test_Master and it will create a custom object Test_Master__c , it is a tracking for real time triggers. It has rows in the table in Sandbox.
Now when i deploy to Production the table is deployed but the rows in the table are not .
Is there a way to deploy both schema and data in the table ?
No, deployments push "metadata" - custom objects, fields, classes, worflows etc. They don't push data.
You need Data Loader, in-browser import wizard, sfdx if you're comfortable with commandline... Or integration tools like Informatica, Azure Data Factory.
If it's one-off check if the import wizard works for you. It's accessible on the object's tab (assuming you have one), "Import" button. Or in setup's search start typing "import". Export from sandbox... Again, data loader? Maybe a report exported as CSV?
I need to export my dashboard CDE (Pentaho 7.1) to pdf/excel format.
By default Pentaho seems do not export CDE dashboards, but googling a little bit on this I found some post with export just of table or graph of the dashboard.
Please can anyone help me?
I would like export entire dashboard to pdf/excel format.
Regards
Currently exporting entire dashboard feature is not available, you can only export specific component like tables or charts but it also having a different method.
We have handled this feature by writing a JavaScript, and used some plugins which allows to take a screen-shot of a page , so we are getting it into .jpg file.
So you can also do such customisation, but by default Pentaho is not provided this feature so far on components level.
I am want to create CDM in powerdesigner using import functionality. I have explored the option of importing excel but this requires user to refresh the imported excel in case of any changes.
What I want is to call an API, which will provide json/xml data, from powerdesigner, either desktop or web application, to generate CDM . Is this option available in powerdesigner? if yes, then how can I do it?
There is quite usable Java API which you can use basically to do anything can be done manually in PD. So you can process almost any input/ouput file to create various diagram.
I am getting list of data tables returned by Web API call and I want that list of data tables to be exported to csv file using AngularJS where each sheet in csv contains data for each table in list of data tables.
It should happen on a button click.
CSV does not support multiple sheets concept. You can create multiple CSV files for each table. Here is a directive for the same. http://ngmodules.org/modules/ng-csv
If you want to export in same sheet, you might want to do it on server side "export to excel". In case of Java, Apache POI is a good option to use. https://poi.apache.org/spreadsheet/examples.html
We're using the '\Codeception\TestCase\Test' class for tests, and reloading the database in a '_before' method works fine. But we would prefer to only load it once per test class rather than reload it for each test method.
How do I load a different dump file at the beginning of each test class?
More detail:
We're testing a batch import into a MySQL database that has several stages:
1. Upload one or more CSV file(s) to an import service API and verify
2. Import into database
3. Run several services on the imported data
4. Export the resulting data back to CSV
At each testing stage we would like to be able to put the initial state of the database into the resulting state of the previous testing stage. We have helpers to save and load the database on-the-fly from a dump file.
there is tool called Respawn https://github.com/jbogard/respawn . I am not sure if it supports MySQL.