Skip to content

Register the DataSource to use the nice fits alias#43

Merged
JulienPeloton merged 2 commits intomasterfrom
alias
Jul 12, 2018
Merged

Register the DataSource to use the nice fits alias#43
JulienPeloton merged 2 commits intomasterfrom
alias

Conversation

@JulienPeloton
Copy link
Copy Markdown
Member

Now you can load FITS using the much nicer "fits" alias:

// full format name
val df = spark.read.format("com.astrolabsoftware.sparkfits").load(fn)

// With the alias
val df = spark.read.format("fits").load(fn)

@codecov-io
Copy link
Copy Markdown

codecov-io commented Jul 12, 2018

Codecov Report

Merging #43 into master will increase coverage by 0.2%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           master     #43     +/-   ##
========================================
+ Coverage   87.89%   88.1%   +0.2%     
========================================
  Files           9       9             
  Lines         479     479             
  Branches       83      83             
========================================
+ Hits          421     422      +1     
+ Misses         58      57      -1
Impacted Files Coverage Δ
src/main/scala/com/sparkfits/DefaultSource.scala 100% <0%> (+33.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dfd0d7d...bc10434. Read the comment docs.

@JulienPeloton JulienPeloton merged commit 306aa16 into master Jul 12, 2018
@JulienPeloton JulienPeloton deleted the alias branch July 12, 2018 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants