Skip to content

Commit

Permalink
Added the calcite sub-dir
Browse files Browse the repository at this point in the history
dventimihasura committed Sep 18, 2024
1 parent 2368545 commit 3fa8b75
Showing 2,921 changed files with 773,471 additions and 1 deletion.
1 change: 0 additions & 1 deletion calcite-rs-jni/.gitignore
Original file line number Diff line number Diff line change
@@ -36,4 +36,3 @@ build/

### Mac OS ###
.DS_Store
/calcite/
35 changes: 35 additions & 0 deletions calcite-rs-jni/calcite/.asf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# 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.

github:
description: "Apache Calcite"
homepage: https://calcite.apache.org/
features:
wiki: false
issues: false
projects: false
enabled_merge_buttons:
# "squash and merge" replaces committer with noreply@github, and we don't want that
# See https://lists.apache.org/thread/vxxpt1x316kjryb4dptsbs95p66d9xrv
squash: false
# We prefer linear history, so creating merge commits is disabled in UI
merge: false
rebase: true
notifications:
commits: commits@calcite.apache.org
issues: issues@calcite.apache.org
pullrequests: commits@calcite.apache.org
jira_options: link label
53 changes: 53 additions & 0 deletions calcite-rs-jni/calcite/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
root = true

[*]
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
indent_style = space

[{*.sh,gradlew}]
end_of_line = lf

[{*.bat,*.cmd}]
end_of_line = crlf

[{*.kts,*.kt}]
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
ij_kotlin_name_count_to_use_star_import = 99
ij_kotlin_name_count_to_use_star_import_for_members = 99
ij_java_use_single_class_imports = true
max_line_length = 100
ij_any_wrap_long_lines = true

[*.astub]
indent_size = 2

[*.java]
# Doc: https://youtrack.jetbrains.com/issue/IDEA-170643#focus=streamItem-27-3708697.0-0
# $ means "static"
ij_java_imports_layout = org.apache.calcite.**,|,org.apache.**,|,au.com.**,|,com.**,|,io.**,|,mondrian.**,|,net.**,|,org.**,|,scala.**,|,java.**,javax.**,|,*,|,$com.**,|,$org.apache.calcite.**,|,$org.apache.**,|,$org.**,|,$java,|,$*
indent_size = 2
tab_width = 2
max_line_length = 100
ij_any_spaces_around_additive_operators = true
ij_any_spaces_around_assignment_operators = true
ij_any_spaces_around_bitwise_operators = true
ij_any_spaces_around_equality_operators = true
ij_any_spaces_around_lambda_arrow = true
ij_any_spaces_around_logical_operators = true
ij_any_spaces_around_multiplicative_operators = true
ij_any_spaces_around_relational_operators = true
ij_any_spaces_around_shift_operators = true
ij_continuation_indent_size = 4
ij_java_if_brace_force = always
ij_java_indent_case_from_switch = false
ij_java_space_after_colon = true
ij_java_space_before_colon = true
ij_java_ternary_operation_signs_on_next_line = true
ij_java_use_single_class_imports = true
ij_java_wrap_long_lines = true
ij_java_align_multiline_parameters = false

[*.xml]
indent_size = 2
35 changes: 35 additions & 0 deletions calcite-rs-jni/calcite/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Auto detect text files and perform LF normalization
* text=auto

*.cs text diff=csharp
*.java text diff=java
*.html text diff=html
*.kt text diff=kotlin
*.kts text diff=kotlin
*.md text diff=markdown
*.py text diff=python executable
*.pl text diff=perl executable
*.pm text diff=perl
*.css text diff=css
*.js text
*.sql text
*.q text

*.sh text eol=lf executable
gradlew text eol=lf executable
sqlsh text eol=lf executable
sqlline text eol=lf executable

#test files, use lf so that size is same on windows as well
data/files/*.dat text eol=lf

*.bat text eol=crlf
*.cmd text eol=crlf
*.csproj text merge=union eol=crlf
*.sln text merge=union eol=crlf

# Take the union of the lines during merge
# It avoids false merge conflicts when different lines are added close to each other
# However, it might result in duplicate lines if two commits edit the same line differently.
# If different commits add exactly the same line, then merge produces only one line.
/core/src/main/resources/org/apache/calcite/runtime/CalciteResource.properties text merge=union
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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.
name: "Validate Gradle Wrapper"
on: [push, pull_request]

jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
Loading

0 comments on commit 3fa8b75

Please sign in to comment.