Sha256: f4802b3fe14b0049f13e0c37d111e869386da192ec0023bdbdd41f1fac661a6f

Contents?: true

Size: 1.49 KB

Versions: 42

Compression:

Stored size: 1.49 KB

Contents

# MAQL script
CREATE DATASET {dataset.quotes} VISUAL(TITLE "St\\tock Qu\totes Data");

# A comment
CREATE DATASET {dataset.quotes} VISUAL(TITLE "Stock Qu\"otes Data");

CREATE DATASET {dataset.quotes} VISUAL(TITLE "Stock Quotes Data");

ALTER DATASET {dataset.quotes} ADD {attribute.sector};

ALTER DATASET {dataset.quotes} DROP {attribute.symbol};

ALTER DATASET {dataset.quotes} VISUAL(TITLE "Internal Quotes Data");

CREATE ATTRIBUTE {attr.quotes.symbol}
    VISUAL(TITLE "Symbol", FOLDER {folder.quotes.attr})
    AS {d_quotes_symbol.nm_symbol};

ALTER ATTRIBUTE {attr.quotes.symbol}
    ADD LABELS {attr.quotes.company} VISUAL(TITLE "Company")
    AS {d_quotes_symbol.nm_company};

CREATE FACT {fact.quotes.open_price}
    VISUAL( TITLE "Open Price", FOLDER {folder.quotes.fact}) AS {f_quotes.f_open_price};

ALTER FACT {fact.quotes.open_price} ADD {f_quotes2.f_open_price};

CREATE FOLDER {folder.quotes.attr}
    VISUAL ( TITLE "Stock Quotes Data",
             DESCRIPTION "Stock quotes data obtained from John Doe etc." )
    TYPE ATTRIBUTE;

ALTER DATATYPE {d_quotes_symbol.nm_symbol} VARCHAR(4),
    {d_quotes_symbol.nm_symbol} VARCHAR(80),
    {f_quotes.f_open_price} DECIMAL(10,2);

INCLUDE TEMPLATE "URN:GOODDATA:DATE" MODIFY (IDENTIFIER "my-date", TITLE "quote")

ALTER ATTRIBUTE {attr.quotes.symbol} ADD KEYS {d_quotes_symbol.nm_symbol} PRIMARY;

ALTER ATTRIBUTE {attr.quotes.symbol} DROP KEYS {d_quotes_symbol.nm_symbol};

ALTER FACT {fact.quotes.open_price} ADD {f_quotes2.f_open_price};

# Another comment

Version data entries

42 entries across 42 versions & 5 rubygems

Version Path
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/pygments.rb-0.6.3/vendor/pygments-main/tests/examplefiles/test.maql
pygments.rb-0.6.3 vendor/pygments-main/tests/examplefiles/test.maql
pygments.rb-0.6.2 vendor/pygments-main/tests/examplefiles/test.maql
pygments.rb-0.6.1 vendor/pygments-main/tests/examplefiles/test.maql
pygments.rb-0.6.0 vendor/pygments-main/tests/examplefiles/test.maql
mortar-pygments.rb-0.5.7 vendor/pygments-main/tests/examplefiles/test.maql
mortar-pygments.rb-0.5.6 vendor/pygments-main/tests/examplefiles/test.maql
mortar-pygments.rb-0.5.5 vendor/pygments-main/tests/examplefiles/test.maql
pygments.rb-jruby-0.5.4.2 vendor/pygments-main/tests/examplefiles/test.maql
pygments.rb-jruby-0.5.4.1 vendor/pygments-main/tests/examplefiles/test.maql
pygments.rb-jruby-0.5.4 vendor/pygments-main/tests/examplefiles/test.maql
gitlab-pygments.rb-0.5.4 vendor/pygments-main/tests/examplefiles/test.maql
pygments.rb-0.5.4 vendor/pygments-main/tests/examplefiles/test.maql
pygments.rb-0.5.2 vendor/pygments-main/tests/examplefiles/test.maql
pygments.rb-0.5.1 vendor/pygments-main/tests/examplefiles/test.maql
pygments.rb-0.5.0 vendor/pygments-main/tests/examplefiles/test.maql
gitlab-pygments.rb-0.3.2 vendor/pygments-main/tests/examplefiles/test.maql
pygments.rb-0.4.2 vendor/pygments-main/tests/examplefiles/test.maql
pygments.rb-0.4.1 vendor/pygments-main/tests/examplefiles/test.maql
pygments.rb-0.3.7 vendor/pygments-main/tests/examplefiles/test.maql