Skip to content

Commit 2e8f724

Browse files
committed
Added the Apache License at the top of the file
1 parent 486f44e commit 2e8f724

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

examples/src/main/r/1-data.R

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
#
2-
# Author: Daniel Emaasit (@emaasit)
3-
# Purpose: This script shows how to create Spark DataFrames
4-
# Date: 06/05/2015
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
516
#
617

718
# For this example, we shall use the "flights" dataset
@@ -27,4 +38,4 @@ flightsDF <- createDataFrame(sqlCtx, flights_df)
2738
printSchema(flightsDF)
2839

2940
## Cache the DataFrame
30-
cache(flightsDF)
41+
cache(flightsDF)

0 commit comments

Comments
 (0)