markdown/datamgmt/load/g-formatting-data-files.html.md.erb (9 lines of code) (raw):

--- title: Formatting Data Files --- <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> When you use the HAWQ tools for loading and unloading data, you must specify how your data is formatted. `COPY`, `CREATE EXTERNAL TABLE, `and `hawq load` have clauses that allow you to specify how your data is formatted. Data can be delimited text (`TEXT`) or comma separated values (`CSV`) format. External data must be formatted correctly to be read by HAWQ. This topic explains the format of data files expected by HAWQ. - **[Formatting Rows](../../datamgmt/load/g-formatting-rows.html)** - **[Formatting Columns](../../datamgmt/load/g-formatting-columns.html)** - **[Representing NULL Values](../../datamgmt/load/g-representing-null-values.html)** - **[Escaping](../../datamgmt/load/g-escaping.html)** - **[Character Encoding](../../datamgmt/load/g-character-encoding.html)**