Read Connector

Create a New Read Connector

After you have an Ascend Read Connection set up, then you continue to set up the Read Connector in your dataflow.

19781978

Figure 1

  • NAME: Read connector name to identify the specific data being collected.
  • DESCRIPTION: Additional information about the connector.
22322232

Figure 2

  • BROWSE CONNECTION: Click this button to explore resource and locate assets to ingest. This will give you access to the GCS bucket where you can navigate to the desired resource. Select the assets you want to ingest and press CONFIRM.
10921092

Figure 3

  • OBJECT PATTERN MATCHING: The pattern used to identify eligible files
    • Glob: Glob applies a pattern matching algorithm.
    • Match: Matches the pattern precisely character-for-character.
    • Prefix: Matches the pattern with the specified prefix.
    • Regex: Regex applies a pattern matching algorithm.
  • OBJECT PATTERN: The pattern used to identify eligible files.
  • PARSER: Data formats currently available are: JSON, ORC, Paraquet, CSV, Text and Avro.
  • BUCKET: GSC Bucket the resource is coming from.
  • PATH DELIMETER: Delimiting character to represent a desired path.

Let's look at the following table to learn about the configurations that are parser specific.

CONFIGURATIONS

Description

CSV

JSON

Parquet

ORC

Text

Avro

Enable Multiline values

In most CSV files, each record stands on its own line, with each field separated by a comma. But there can be cases where
we have a multi-line field, for example lyrics of a song. Fields including line breaks are enclosed in double-quotes. This
checkbox informs the parser that there can be multi-line fields in the ingested data.

Optional

N/A

N/A

N/A

N/A

N/A

TIMESTAMP FORMAT

Format of the timestamp type field in the CSV file.

Optional

Optional

N/A

N/A

N/A

N/A

FIELD DELIMITER

Field delimiter to be used if not comma.

Optional

N/A

N/A

N/A

N/A

N/A

QUOTE CHARACTER

A single character used for escaping quoted values where the separator can be part of the value. If you would like to turn of
quotations, you need to set not null but an empty string.

Optional

N/A

N/A

N/A

N/A

N/A

ESCAPE CHARACTER

A single character used for escaping quotes inside an already quoted value.

Optional

N/A

N/A

N/A

N/A

N/A

COMMENT PREFIX

A single character used for skipping lines beginning with this character. By default, it is disabled.

Optional

N/A

N/A

N/A

N/A

N/A

Files have header row

Tells the parser that the first line has the headers which should be used as column names in the schema.

Optional

N/A

N/A

N/A

N/A

N/A

DATE FORMAT

Format of the date type field in the CSV file.

Optional

Optional

N/A

N/A

N/A

N/A

Generate Schema

Once you click on the GENERATE SCHEMA button, the parser will create a schema and a data preview will be populated as in the image below.

  • Add schema column: Add a custom column to the generated schema.
11881188

Figure 4

Refresh Schedule

The refresh schedule specifies how often Ascend checks the data location to see if there's new data. Ascend will automatically kick off the corresponding big data jobs once new or updated data is discovered.

746746

Figure 5

Processing Priority (optional)

680680

Figure 6

  • Assigned Priority: Is used to determine which components to schedule first. Higher priority numbers are scheduled before lower ones. Increasing the priority on a component also causes all its upstream components to be prioritized higher. Negative priorities can be used to postpone work until excess capacity becomes available.

Did this page help you?