Update for unit 6
This commit is contained in:
8
packages/bookshop/db/src/.hdiconfig
Normal file
8
packages/bookshop/db/src/.hdiconfig
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"file_suffixes": {
|
||||
"hdbtable": { "plugin_name": "com.sap.hana.di.table", "plugin_version": "11.1.0" },
|
||||
"hdbtabletype": { "plugin_name": "com.sap.hana.di.tabletype", "plugin_version": "11.1.0" },
|
||||
"hdbtabledata": { "plugin_name": "com.sap.hana.di.tabledata", "plugin_version": "11.1.0" },
|
||||
"csv": { "plugin_name" : "com.sap.hana.di.tabledata.source" }
|
||||
}
|
||||
}
|
||||
4
packages/bookshop/db/src/.hdinamespace
Normal file
4
packages/bookshop/db/src/.hdinamespace
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "",
|
||||
"subfolder": "ignore"
|
||||
}
|
||||
4
packages/bookshop/db/src/data/Books.csv
Normal file
4
packages/bookshop/db/src/data/Books.csv
Normal file
@@ -0,0 +1,4 @@
|
||||
ID;TITLE;DESCR
|
||||
301;Anna Karenina;"Anna Karenina (Russian: «Анна Каренина», IPA: [ˈanːə kɐˈrʲenʲɪnə])[1] is a novel by the Russian author Leo Tolstoy, first published in book form in 1878. Many writers consider Anna Karenina the greatest work of literature ever,[2] and Tolstoy himself called it his first true novel. It was initially released in serial installments from 1873 to 1877 in the periodical The Russian Messenger."
|
||||
307;The Great Gatsby;"The Great Gatsby is a 1925 novel written by American author F. Scott Fitzgerald that follows a cast of characters living in the fictional towns of West Egg and East Egg on prosperous Long Island in the summer of 1922. The story primarily concerns the young and mysterious millionaire Jay Gatsby and his quixotic passion and obsession with the beautiful former debutante Daisy Buchanan. Considered to be Fitzgerald's magnum opus, The Great Gatsby explores themes of decadence, idealism, resistance to change, social upheaval and excess, creating a portrait of the Roaring Twenties that has been described as a cautionary[a] tale regarding the American Dream."
|
||||
406;Harry Potter;"Harry Potter is a series of fantasy novels written by British author J. K. Rowling. The novels chronicle the lives of a young wizard, Harry Potter, and his friends Hermione Granger and Ron Weasley, all of whom are students at Hogwarts School of Witchcraft and Wizardry. The main story arc concerns Harry's struggle against Lord Voldemort, a dark wizard who intends to become immortal, overthrow the wizard governing body known as the Ministry of Magic and subjugate all wizards and Muggles (non-magical people)."
|
||||
|
@@ -0,0 +1,7 @@
|
||||
-- generated by cds-compiler version 1.23.1-SNAPSHOT
|
||||
COLUMN TABLE SAP_CAPIRE_BOOKSHOP_BOOKS (
|
||||
ID INTEGER NOT NULL,
|
||||
TITLE NVARCHAR(111),
|
||||
DESCR NVARCHAR(1111),
|
||||
PRIMARY KEY(ID)
|
||||
)
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"format_version": 1,
|
||||
"imports": [
|
||||
{
|
||||
"target_table": "SAP_CAPIRE_BOOKSHOP_BOOKS",
|
||||
"source_data": {
|
||||
"data_type": "CSV",
|
||||
"file_name": "Books.csv",
|
||||
"has_header": true,
|
||||
"no_data_import": false,
|
||||
"delete_existing_foreign_data": false,
|
||||
"dialect": "HANA",
|
||||
"type_config": {
|
||||
"delimiter": ";"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user